I have nginx installed on CentOS and now I need it to be disabled (including on reboot), but keep it installed for further use.
Should I only remove /etc/init.d/nginx
file? Or is there more graceful way to do that?
I have nginx installed on CentOS and now I need it to be disabled (including on reboot), but keep it installed for further use.
Should I only remove /etc/init.d/nginx
file? Or is there more graceful way to do that?
sudo /etc/init.d/nginx stop
sudo chkconfig nginx off
then confirm with
chkconfig --list | grep nginx