chiark / gitweb /
umount: try to get rid of DM devices
[elogind.git] / units / suse / halt.service
index 00bbfa93f49f81320c1b07995af8588367645e71..d826ca3e22d846832e1221ca6862e81376ce3f80 100644 (file)
@@ -8,13 +8,12 @@
 [Unit]
 Description=Halt
 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=INIT_HALT=HALT RUNLEVEL=0 COLD_BOOT=1
 ExecStart=/etc/init.d/halt
-StandardInput=tty
+StandardOutput=tty