chiark / gitweb /
units: make sure that killall does not wait for the tty
[elogind.git] / units / arch / poweroff.service
index 0b1ee89aa679a65f7cbea3f5ae02e713f43a7ef5..3d40ba82c24547b5c0c4fc558233e836f2735f78 100644 (file)
@@ -8,13 +8,12 @@
 [Unit]
 Description=Power-Off
 DefaultDependencies=no
-Wants=shutdown.target
-After=shutdown.target
-Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount
+Requires=shutdown.target umount.target
+After=shutdown.target umount.target
 
 [Service]
 Type=finish
 ValidNoProcess=yes
 Environment=RUNLEVEL=0
 ExecStart=/etc/rc.shutdown
-StandardInput=tty
+StandardOutput=tty