Devuan (older Debian-based systems as well) has a command sysv-rc-conf
, which provides both a commandline and an ncurses-based interface for service management. Simply install the package with the same name:
apt-get install sysv-rc-conf
List services:
sysv-rc-conf --list
Enable a service in runlevels 2, 3 and 5 (replace on
with off
to disable):
sysv-rc-conf --level 235 myservice on
Start with interactive ncurses interface:
sysv-rc-conf