summaryrefslogtreecommitdiffstats
path: root/units/reboot.target
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-11-06 14:15:48 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-11-06 14:17:45 +0100
commit58f2fab16da947052756b7f9ace40f6ee7fa1519 (patch)
treebbea9c39b5ce2826348b56ede8e1a2148ba1aaa6 /units/reboot.target
parentlogin: rerun vconsole-setup when switching from vgacon to fbcon (diff)
downloadsystemd-58f2fab16da947052756b7f9ace40f6ee7fa1519.tar.xz
systemd-58f2fab16da947052756b7f9ace40f6ee7fa1519.zip
units: restore job timeouts for poweroff and reboot
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.
Diffstat (limited to 'units/reboot.target')
-rw-r--r--units/reboot.target2
1 files changed, 2 insertions, 0 deletions
diff --git a/units/reboot.target b/units/reboot.target
index dec8f56796..668b98d9e4 100644
--- a/units/reboot.target
+++ b/units/reboot.target
@@ -12,6 +12,8 @@ DefaultDependencies=no
Requires=systemd-reboot.service
After=systemd-reboot.service
AllowIsolate=yes
+JobTimeoutSec=30min
+JobTimeoutAction=reboot-force
[Install]
Alias=ctrl-alt-del.target