chiark / gitweb /
units: make sure that killall does not wait for the tty
[elogind.git] / units / arch / poweroff.service
index 3ca8f30e94c8b35c5c96788e13efa22818b8c4ac..3d40ba82c24547b5c0c4fc558233e836f2735f78 100644 (file)
@@ -7,12 +7,13 @@
 
 [Unit]
 Description=Power-Off
-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
+DefaultDependencies=no
+Requires=shutdown.target umount.target
+After=shutdown.target umount.target
 
 [Service]
 Type=finish
 ValidNoProcess=yes
 Environment=RUNLEVEL=0
 ExecStart=/etc/rc.shutdown
+StandardOutput=tty