X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsuse%2Fhalt.service;h=d826ca3e22d846832e1221ca6862e81376ce3f80;hp=bc237f02f0244fa2b1cd0c7e528adc4c1eb198a7;hb=d48141ba0bed2866e05261cf06f0a6adfb11f349;hpb=9a9a438596e6f57cda87fc7045971197fd2b3078 diff --git a/units/suse/halt.service b/units/suse/halt.service index bc237f02f..d826ca3e2 100644 --- a/units/suse/halt.service +++ b/units/suse/halt.service @@ -7,13 +7,13 @@ [Unit] Description=Halt -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 +DefaultDependencies=no +Requires=shutdown.target umount.target +After=shutdown.target umount.target [Service] -Type=finish -ValidNoProcess=yes -Environment=INIT_HALT=HALT -Environment=RUNLEVEL=0 -ExecStart=/etc/init.d/halt start +Type=oneshot +RemainAfterExit=yes +Environment=INIT_HALT=HALT RUNLEVEL=0 COLD_BOOT=1 +ExecStart=/etc/init.d/halt +StandardOutput=tty