Re: start-stop program is now gone, depacated
Reply #1 –
Hi,
I am unfamiliar with the start-stop daemon but I have been using openRc the last 15 years or so, went for Gentoo 2005-ish.
openRc takes care of starting script during boot in several runlevels (boot, default).
The scripts is located in /etc/init.d
When I have moved out from openRc I have always felt hindered by the usage of a third software, like start or systemctl when starting and stoping my init-sciprts - in openRc the scripts is started instead:
# /etc/init.d/net.eth0 restart
I figure this is similarly awkward the other way around
Each script is added to a runlevel usin rc-update
# rc-update add net.eth0 default
The script will then be started during the default runlevel.
Scripts does impose dependencies that determines the order and if dependent services are started as well.
The effort to port scripts to openRc (and a few others) is virtually what the Artix project is about; taking the systemd-based packages from Archi linux and transform them to work with openRc (and a few others).
A comprehensive guide for openRc can be found on the gentoo wiki: https://wiki.gentoo.org/wiki/OpenRC
Happy new year,
Erik