tirsdag den 21. august 2007

To start or stop services under any debian based distro

  1. Get the name of the service you want to start or stop

ls /etc/init.d

then

sudo invoke-rc.d servicename startstop

Which is only a shortcut to

sudo /etc/init.d/servicename startstop

The easiest way (my opinion) to do all this is to use this nice little app here:

apt-get install sysv-rc-conf

sysv-rc-conf

Ingen kommentarer:

Blog-arkiv