Start Stop Service Debian

From MS Computech
Jump to: navigation, search

remove from bootup: update-rc.d -f nfs remove
add to bootup: update-rc.d nfs defaults
add and set levels: update-rc.d nfs start 20 2 3 4 5 . stop 20 0 1 6 .
You can also use rcconf or sysvconfig.

start something: /etc/init.d/nfs start
stop with: /etc/init.d/nfs stop