I have systems that ensures that their services are running by runit instead of rc.d or systemd on Debian, and I am trying to use Rex to start building a coherent setup across my systems.
I would like to know how I can:
- keep the package as up-to-date as possible (considering the fact I intend to deploy a repository with only validated packages);
- disable the Debian's official and automatic rc.d daemon;
- upload the run script;
- create the link for the run script;
- ensure that the daemon is automatically started;
- ensure that it's logger is also running;
For points 1 to 4, I could just fix the problem with a package built to install the run-scripts of specific daemons and use it instead of rc.d (like the package getty-run), but AFAIK, it won't stop Rex to use rc.d interface (according to what I understood in source code: /etc/init.d/%s [start|restart|stop|etc]
).