~/.bashrc
/root/.config/autostart-scripts/ #kde desktop
What are the other strategies?
As an example, personally I would like to start the CUPS server with the cupsd command.
Notes:
Services and runlevels:
https://www.linux.com/news/introduction ... cd-scripts
https://www.linux.com/news/introduction ... cd-scripts
How run levels start are configured in /etc/inittab:
example for openrc:
Code: Select all
l0:0:wait:/usr/bin/openrc shutdown
l0s:0:wait:/usr/bin/halt -dhip
l1:S1:wait:/usr/bin/openrc single
l2:2:wait:/usr/bin/openrc nonetwork
l3:3:wait:/usr/bin/openrc default
l4:4:wait:/usr/bin/openrc default
l5:5:wait:/usr/bin/openrc default
l6:6:wait:/usr/bin/openrc reboot
l6r:6:wait:/usr/bin/reboot -d
#z6:6:respawn:/usr/bin/sulogin