[systemd-devel] rc-local.service and its future in systemd?
Aki Ketolainen
akik at mykolab.com
Mon Apr 24 11:27:29 UTC 2023
>> Would it be possible to change the rc-local.service configuration as
>> follows, so that it could be used similarly as before
>> i.e. running close to the end of the "runlevel" or systemd target:
>>
>> [Unit]
>> After=crond.service
>
> Why crond? Why is that the "end of the runlevel"?
I checked the service startup after boot with "journalctl -b 0 -t
systemd" and
it showed crond starting near the end of the target.
Is there some issue with setting rc-local.service for
"After=systemd-update-utmp-runlevel.service" ?
It caused that cyclic dependency problem.
Best regards,
Aki
More information about the systemd-devel
mailing list