Inhibit suspend during update

This commit is contained in:
Justin Zobel
2024-10-03 15:37:20 +09:30
parent 2203b7c1fb
commit 139ee7579b

View File

@@ -10,4 +10,4 @@ stat /efi/EFI
export TAR_OPTIONS="--zstd"
# FIXME set up signing shebang so we can run with verify
exec /usr/lib/systemd/systemd-sysupdate --verify=no "$@"
exec systemd-inhibit --what=sleep:shutdown --mode=block --who="Systemd Sysupdate" --why="Updating System" /usr/lib/systemd/systemd-sysupdate --verify=no "$@"