X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Ffedora%2Fhalt.service;h=c337dce6d9ad4523c2723f5f1ef173dcfc34b554;hb=ce726252a9a9487a694cbd68f4d13542ba965258;hp=a298d95767df4477755178d364e1375527f6c08e;hpb=dfca381db341205b7a68f40ef2b7550ac6972cab;p=elogind.git diff --git a/units/fedora/halt.service b/units/fedora/halt.service index a298d9576..c337dce6d 100644 --- a/units/fedora/halt.service +++ b/units/fedora/halt.service @@ -7,12 +7,13 @@ [Unit] Description=Halt -Requires=shutdown.target killall.service -After=shutdown.target killall.service +DefaultDependencies=no +Requires=shutdown.target umount.target killall.service +After=shutdown.target umount.target killall.service [Service] -Type=finish -ValidNoProcess=yes -Environment=INIT_HALT=HALT -Environment=RUNLEVEL=0 +Type=oneshot +RemainAfterExit=yes +Environment=INIT_HALT=HALT RUNLEVEL=0 ExecStart=/etc/init.d/halt start +StandardOutput=tty