Re: rc-local.service and its future in systemd?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> Am 24.04.2023 um 12:20 schrieb Aki Ketolainen <akik@xxxxxxxxxxx>:
> 
>> as Lennard already told you in the GitHub issue that "last" just doesn't make sense in systemd, there is also no need to change the dependencies
>> global for everyone. Especially as there are systems out there which doesn't have crond installed (because there are .timer).
>> Your best bet is really to change all your custom scripts from rc.local into proper .service and instead of crond check out systemd.timer.
>> BR
>> Silvio
> 
> I tried to set After=systemd-update-utmp-runlevel.service but I got some cyclic dependency problem. Would you know how to do that?
> 
> Best regards,
> 
> Aki
This totally depends on the unit you wrote. Without it, we can't help. In general, ignore and forget the run level concept.

BR
Silvio



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux