It seems that there actually aren't any long running tasks which are
performed at shutdown. If it turns out that there actually are, this
should be revisited.
This reverts most of commit
038193efa6.
Requires=systemd-poweroff.service
After=systemd-poweroff.service
AllowIsolate=yes
Requires=systemd-poweroff.service
After=systemd-poweroff.service
AllowIsolate=yes
+JobTimeoutSec=30min
+JobTimeoutAction=poweroff-force
[Install]
Alias=ctrl-alt-del.target
[Install]
Alias=ctrl-alt-del.target
Requires=systemd-reboot.service
After=systemd-reboot.service
AllowIsolate=yes
Requires=systemd-reboot.service
After=systemd-reboot.service
AllowIsolate=yes
+JobTimeoutSec=30min
+JobTimeoutAction=reboot-force
[Install]
Alias=ctrl-alt-del.target
[Install]
Alias=ctrl-alt-del.target