Prevent it from starting automatically There were many articles saying that chkconfig can be used, but since there is no command in Ubuntu 18.04
$ sudo systemctl disable apache2.sevice
$ sudo systemctl disable nginx.service
Undo
$ sudo systemctl enable apache2.sevice
$ sudo systemctl enable nginx.service
Recommended Posts