You are not logged in.
Pages: 1
When I install a new distro I typically run 'sudo lsof -i' to see what is [Listening] and work to remove any potentially vulnerable network aware applications.
I'm struggling to learn how the init system works. A small guide on how to use the Devuan init for managing daemons would be nice for the following actions:
Do I need to know about runlevels for daemons?
How to Start a service:
How to stop a service:
How to disable a service:
How to enable a service:
What is the correct procedure to follow before 'sudo apt remove <package>' that also has a service module?
Offline
Do I need to know about runlevels for daemons?
How to Start a service:
How to stop a service:
How to disable a service:
How to enable a service:What is the correct procedure to follow before 'sudo apt remove <package>' that also has a service module?
The runlevels will be in the file that controls the daemon in the /etc/init.d/ directory,
sudo /etc/init.d/service start
sudo /etc/init.d/service stop
sudo update-rc.d service remove
sudo update-rc.d service defaultsThose would be the answers to your next four questions usually you can find the options used with /etc/init.d/service by reading the plain text file it is to see what is available in it. Most times there is a restart option and some of the time a force-reload that can be used as well.
Apt will shut down the service before/during removal as I remember it as never having to do anything special when I have done it, using the --purge option with it when removing will get rid of all of the configuration files installed by the package as well.
Offline
Old but still useful -
https://refracta.org/docs/debian-handbook-wheezy.pdf
Last Debian Administrator's Handbook before systemd.
Offline
When I install a new distro I typically run 'sudo lsof -i' to see what is [Listening] and work to remove any potentially vulnerable network aware applications.
I'm struggling to learn how the init system works. A small guide on how to use the Devuan init for managing daemons would be nice for the following actions:
Do I need to know about runlevels for daemons?
How to Start a service:
How to stop a service:
How to disable a service:
How to enable a service:What is the correct procedure to follow before 'sudo apt remove <package>' that also has a service module?
Yep, most people here do not like to use ai too much ... but ... you can try to ask ai to get some answers.
Offline
Pages: 1