On Monday, July 18, 2022 4:50:03 PM EDT Peter Boy wrote:
Am 18.07.2022 um 22:18 schrieb Peter Boy pboy@uni-bremen.de:
I got it finally working.
After some tests: It isn’t.
The programs I have to start depend on the existence of some (virtual) network interfaces. rc.local is ordered after network.target, which doesn’t mean, the network is functional then. Therefore, the program start via rc.local is in indeterministic process. Sometimes it works, sometimes not, sometimes only for some.
You probably should (carefully) read this:
https://systemd.io/NETWORK_ONLINE/
and then create a .service file to run whatever program you want to start at boot-time.