📎 Webclip
how to disable apache2 server from auto starting upon boot up
The page says apache2 starts at boot through init scripts in /etc/init.d and symlinks in runlevel directories such as rc0.d to rc6.d. It points to update-rc.d as the tool for changing those links instead of renaming files by hand.
Reading notes#
- apache2 starts from init scripts linked into runlevel directories
sudo update-rc.d -f apache2 removeremoves apache2 from startup linkssudo update-rc.d apache2 disablecan disable it, andsudo update-rc.d apache2 enablecan turn it back on- one comment notes that
chkconfig {service_name} offmay also help - one comment says the disable and enable API may not be stable on Ubuntu Trusty
- one comment links to a GUI tool for managing startup services
