Browse Source

Configure apache2 not to auto-start at boot

Tests expect to be able to start their own desired http server on
Apache's configured port.
Malcolm Evershed 12 years ago
parent
commit
4a395ed0f2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      installer.py

+ 1 - 0
installer.py

@@ -184,6 +184,7 @@ class Installer:
     self.__run_command("sudo mv /etc/apache2/ports.conf /etc/apache2/ports.conf.orig")
     self.__run_command("sudo sh -c \"cat ../config/ports.conf > /etc/apache2/ports.conf\"")
     self.__run_command("sudo /etc/init.d/apache2 stop")
+    self.__run_command("sudo update-rc.d apache2 disable")
 
     #
     # Nginx