X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Ffedora%2Frc-local.service;h=a21a5578c48665e5f5d318c36e10b0310fe62ac4;hb=d4a80c124356e87dadd1af2b386e77c9b286bbbf;hp=cb0700700b1ed4020964046d8dac5dbe0342e83c;hpb=78c390dee163db80ed903c3d830e7115409f5f34;p=elogind.git diff --git a/units/fedora/rc-local.service b/units/fedora/rc-local.service index cb0700700..a21a5578c 100644 --- a/units/fedora/rc-local.service +++ b/units/fedora/rc-local.service @@ -7,18 +7,12 @@ [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 ExecStart=/etc/rc.local start -Type=simple TimeoutSec=0 -StandardInput=tty -ValidNoProcess=yes +StandardOutput=tty +RemainAfterExit=yes SysVStartPriority=99