X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Ffedora%2Frc-local.service;h=1d5d10506a96491f4767ed468b33d89c387d821b;hb=73d35ff8e475d17a22fc524ae003553021acaa8e;hp=bd67aab62e115bbba6c60713384e43d3ebdea9a6;hpb=1f48cf56cb2693b84fdc76dc8df0b048ed50ef43;p=elogind.git diff --git a/units/fedora/rc-local.service b/units/fedora/rc-local.service index bd67aab62..1d5d10506 100644 --- a/units/fedora/rc-local.service +++ b/units/fedora/rc-local.service @@ -7,17 +7,16 @@ [Unit] Description=/etc/rc.local Compatibility -Requires=basic.target -After=basic.target -Conflicts=shutdown.target - -# The rcN.d symlink uses the name "local" while the script itself is -# called "rc.local", hence carry both names here. -Names=rc-local.service local.service +ConditionPathExists=/etc/rc.local [Service] +Type=forking +Environment=TERM=linux ExecStart=/etc/rc.local start TimeoutSec=0 -StandardInput=tty -ValidNoProcess=yes +StandardOutput=tty +RemainAfterExit=yes SysVStartPriority=99 + +[Install] +WantedBy=multi-user.target