chiark / gitweb /
socket: Support IPv6-less systems with runtime check.
[elogind.git] / units / arch / poweroff.service
index 0b1ee89aa679a65f7cbea3f5ae02e713f43a7ef5..df2812fd9b6119f5a5579eb7c2b63fdb2457425c 100644 (file)
@@ -8,13 +8,12 @@
 [Unit]
 Description=Power-Off
 DefaultDependencies=no
-Wants=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
+Type=oneshot
+RemainAfterExit=yes
 Environment=RUNLEVEL=0
 ExecStart=/etc/rc.shutdown
-StandardInput=tty
+StandardOutput=tty