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=c81b13ecd9f38ebb2772c848a41b9fcd6b2b23ff;hpb=b827a9f97dcc88f4b9e23d656d7325455eb33848;p=elogind.git diff --git a/units/fedora/reboot.service b/units/fedora/reboot.service index c81b13ecd..ca8b3b182 100644 --- a/units/fedora/reboot.service +++ b/units/fedora/reboot.service @@ -8,13 +8,12 @@ [Unit] Description=Reboot DefaultDependencies=no -Wants=shutdown.target killall.service -After=shutdown.target killall.service -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 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/reboot start -StandardInput=tty +StandardOutput=tty