Created
June 8, 2015 09:09
-
-
Save nicolasramy/a7fd45be6b394049bc51 to your computer and use it in GitHub Desktop.
Revisions
-
nicolasramy created this gist
Jun 8, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ As Apache still uses the traditional SysV init scripts you can use ``` sudo update-rc.d -f apache2 remove ``` to remove the links from ```/etc/rcX.d``` or, alternatively use ``` sudo update-rc.d apache2 disable ``` which "disables" the script by changing it from a start script to a stop script. This is reversible by ``` sudo update-rc.d apache2 enable ```