X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Ffedora%2Freboot.service;h=ca8b3b182a5f52bb079dee164523ce2a57a8402c;hb=ce726252a9a9487a694cbd68f4d13542ba965258;hp=79c5ef41ca7ab1b28ac7686db01bad641263d0f7;hpb=dfca381db341205b7a68f40ef2b7550ac6972cab;p=elogind.git diff --git a/units/fedora/reboot.service b/units/fedora/reboot.service index 79c5ef41c..ca8b3b182 100644 --- a/units/fedora/reboot.service +++ b/units/fedora/reboot.service @@ -7,11 +7,13 @@ [Unit] Description=Reboot -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 +Type=oneshot +RemainAfterExit=yes Environment=RUNLEVEL=6 -ExecStart=@/etc/init.d/halt reboot start +ExecStart=/etc/init.d/reboot start +StandardOutput=tty