chiark / gitweb /
units: pull in syslog.target for synchronization purposes by systemd-logger.service
[elogind.git] / units / fedora / poweroff.service
index 913edc489fefce6b413a571db7b2c130800522cb..dbbed75d6d9caec12f2746a9525656e1bbad2b81 100644 (file)
@@ -8,13 +8,12 @@
 [Unit]
 Description=Power-Off
 DefaultDependencies=no
-Wants=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 sys-kernel-security.automount
+Requires=shutdown.target umount.target killall.service
+After=shutdown.target umount.target killall.service
 
 [Service]
-Type=finish
-ValidNoProcess=yes
+Type=oneshot
+RemainAfterExit=yes
 Environment=RUNLEVEL=0
 ExecStart=/etc/init.d/halt start
-StandardInput=tty
+StandardOutput=tty