Install Service On A Debian, Ubuntu, Kali, CentOS, Fedora And Raspbian
service
Install service
-
Debian
apt-get install sysvinit-utilsClick to copy -
Ubuntu
apt-get install sysvinit-utilsClick to copy -
Kali Linux
apt-get install init-system-helpersClick to copy -
CentOS
yum install initscriptsClick to copy -
Fedora
dnf install initscriptsClick to copy -
Raspbian
apt-get install sysvinit-utilsClick to copy
Manage services by running init scripts. The full script path should be omitted (/etc/init.d/ is assumed).
How to use service?
Below are few example commands for service that you can use in the terminal.
Start/Stop/Restart/Reload service (start/stop should always be available):service init_script start|stop|restart|reloadClick to copyDo a full restart (runs script twice with start and stop):service init_script --full-restartClick to copyShow the current status of a service:service init_script statusClick to copyList the status of all services:service --status-allClick to copy
Installing service command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Kali, CentOS, Fedora and Raspbian operating systems. Once you run the command it will install the latest version of service 2026 package in your OS.




