chiark / gitweb /
units: add default tmpwatch units
[elogind.git] / units / suse / poweroff.service
index 93a9da502ad839bd2d3c8b563e9ebcbd4c18aa36..fe8c67761e61c7b18de61d38ba0a75d8a3673c1b 100644 (file)
@@ -8,13 +8,12 @@
 [Unit]
 Description=Power-Off
 DefaultDependencies=no
-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
+Requires=shutdown.target umount.target
+After=shutdown.target umount.target
 
 [Service]
-Type=finish
-ValidNoProcess=yes
+Type=oneshot
+RemainAfterExit=yes
 Environment=COLD_BOOT=1
 ExecStart=/etc/init.d/halt
-StandardInput=tty
+StandardOutput=tty