chiark / gitweb /
units: pull in syslog.target for synchronization purposes by systemd-logger.service
[elogind.git] / units / fedora / poweroff.service
index 2149dbf6db725b6c44a7fdef0044c719e2fe3f62..dbbed75d6d9caec12f2746a9525656e1bbad2b81 100644 (file)
@@ -8,12 +8,12 @@
 [Unit]
 Description=Power-Off
 DefaultDependencies=no
-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 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
+StandardOutput=tty