16dec11
services, Debian, crunchbang






Turn on and off Services in Debian, Crunchbang

Originally I wanted to explain two ways to do this. Finally I found five possibilities and know there are more around.
Here they are:


To enable services at system-boot:

bum - graphical Boot-Up-Manager

To install it just run:
sudo apt-get install bum

Start it from terminal with:
gksu bum

Screenshot:
bum


rcconf - utility

Install:
sudo apt-get install rcconf

Run:
sudo rcconf

Screenshot:

rcconf



update-rc.d - script, terminal application (I guess that is the original Debian-way)

Use: In a terminal type:

update-rc.d service-name defaults

(
To start services at system start)

update-rc.d service-name remove

(
To stop services to start at system boot)


sysv-rc-conf
(see below as well)

Install:
sudo apt-get install sysv-rc-conf

Use:
sudo sysv-rc-conf

Screenshot:

sysv-rc-conf



Start / stop services on the fly:

sysv-rc-conf
(see above as well)

Install:
sudo apt-get install sysv-rc-conf

Use:
sudo service service-name status
sudo service service-name restart
sudo service service-name stop
sudo service service-name start


Manually:

sudo /etc/init.d/service-name status
sudo /etc/init.d/service-name restart

sudo /etc/init.d/service-name start
sudo /etc/init.d/service-name stop