Tagged: unix-debian-services

Debian: Stopping a service from starting at startup

To remove a service, apache2 in this case, from running at all runlevels:

 update-rc.d -f apache2 remove

This will remove the apache2 file (located in /etc/init.d/) symlink from all the /etc/rcX.d/ directories.

To simply stop a service:

 service apache2 stop

You can replace stop with start to start it.

unix unix-debian unix-debian-services

Page 1 of 1