chiark / gitweb /
units: make sure that killall does not wait for the tty
[elogind.git] / units / arch / poweroff.service
index ffa592c8f67c7196a5f472fe09d13a9069b97b29..3d40ba82c24547b5c0c4fc558233e836f2735f78 100644 (file)
@@ -8,13 +8,12 @@
 [Unit]
 Description=Power-Off
 DefaultDependencies=no
-Requires=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