Re: Run as root on reboot

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



On Oct 28, 2020, at 19:58, david <david@xxxxxxxx> wrote:
> 
> Alas, I think rc.local has become irrelevant with systemd, which is most Linux distros is the way forward.

I suggest running:  

systemctl cat rc-local.service

The trick is to make the /etc/rc.d/rc.local file executable.

However, honestly, what you are asking for should be to create your own systemd service to launch on boot.  Systemd service units are trivial to write.

--
Jonathan Billings <billings@xxxxxxxxxx>

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux