X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=units%2Fsuse%2Fhalt.service;h=d826ca3e22d846832e1221ca6862e81376ce3f80;hb=d48141ba0bed2866e05261cf06f0a6adfb11f349;hp=40d58b36b5ed6bb90f20c23556817f2b6413e1fd;hpb=07405e90968c39f04bc00e1af5b1671940482b19;p=elogind.git diff --git a/units/suse/halt.service b/units/suse/halt.service index 40d58b36b..d826ca3e2 100644 --- a/units/suse/halt.service +++ b/units/suse/halt.service @@ -8,12 +8,12 @@ [Unit] Description=Halt 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 -Environment=INIT_HALT=HALT 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