Blob Blame Raw
[Unit]
Description=Builds and install new kmods from akmod for a given kernel

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/systemd-inhibit --mode=block --what=idle:sleep:shutdown --who="akmods" --why="Akmods Transaction running" /usr/sbin/akmods --from-kernel-posttrans --kernels %i

[Install]
WantedBy=multi-user.target