chiark / gitweb /
service: rename Type=finish to Type=oneshot and allow multiple ExecStart= lines for...
[elogind.git] / units / fedora / poweroff.service
index 07af6c62c3b112a3125de8e1541d22ce84874c7d..7597f4f651f6e9cfd5346e5c55ecd5a11cf86f30 100644 (file)
@@ -7,12 +7,13 @@
 
 [Unit]
 Description=Power-Off
-Requires=shutdown.target killall.service
-After=shutdown.target killall.service
-Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount
+DefaultDependencies=no
+Requires=shutdown.target umount.target killall.service
+After=shutdown.target umount.target killall.service
 
 [Service]
-Type=finish
+Type=oneshot
 ValidNoProcess=yes
 Environment=RUNLEVEL=0
 ExecStart=/etc/init.d/halt start
+StandardOutput=tty