4 votes

How to test /etc/rc.d/rc.local to make sure a command will start successfully at boot?

[Quick Answer] To run rc.local manually, go to rc.local path (cd /etc/) then do as the following: $ sudo ./rc.local If you have an error for execution, do it before that: $ sudo chmod +x rc.local
Benyamin Jafari's user avatar
4 votes
Accepted

Debian 9 - rc.local deprecated, how to launch python at startup

Debian 9 (like many other current Linux distributions) uses systemd to start and manage your system and services. You'll be facing a bit of a learning curve compared to adding lines to rc.local but ...
HBruijn's user avatar
  • 80.2k
2 votes

Debian 9 - rc.local deprecated, how to launch python at startup

You launch it using a systemd unit, like every other service. There are numerous tutorials out on the Internet about how to set this up. Or you can just start with a skeleton unit something like: [...
Michael Hampton's user avatar
1 vote

Read Ahead value automatically getting updated at boot

Disable readahead value in tuned.conf. Run these commands to reload the tuned.conf file: # tuned-adm profile # tuned-adm active virtual-guest After this the values will load from /etc/rc.d/rc.local ...
Chinthith's user avatar
1 vote

rc.local not being run on Fedora 23

TL;DR: Just create /etc/rc.d/rc.local and make it executable. That's all. I have no idea why so many articles and blogs mentions the unnecessary and incorrect step of enabling rc-local service unit. ...
lzap's user avatar
  • 2,970

Only top scored, non community-wiki answers of a minimum length are eligible