using the rc.local is going to be easier to support than creating your
own systemd service to do exactly the same thing.

I have been using the rc.local stuff for a while for anything that
does not have a native systemd unit file.

I think the comment of not using it is for other developers to not put
into their instructions to add xxx to rc.local and telling them to
create a proper systemd unit file.

There have always been a lot of projects out there that just say add
it to rc.local and do not create a proper startup script to be used.

On Mon, Jul 18, 2022 at 11:01 AM Peter Boy <p...@uni-bremen.de> wrote:
>
> I have to run some scripts at the end of the boot process to establish 
> various workarounds for bugs in systemd. In the days of System V, 
> /etc/rc.d/rc.local would be the right place for this.
>
> My research revealed several solutions with conflicting recommendations:
> (a)
> There is - also in Fedora - systemd-rc-local service. In the man file it is 
> advised not to use it. A Fedora default installation also does not completely 
> create the necessary directory structure. And if one wants to execute this 
> service as far as possible at the end of the boot process, further 
> adjustments are necessary.
>
> (b)
> There is the DIY suggestion to create a service of one's own, and to place it 
> as far as possible at the end of the system start.
>
> (c)
> A suggestion is to insert in the root-crontab at the end
> @reboot systemctl start ….
>
> The latter seems to be the most reliable solution at the moment.
>
> Any recommendations and/or experiences?
>
>
>
>
>
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam on the list, report it: 
> https://pagure.io/fedora-infrastructure
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to