How to start nginx after reboot

0 votes
59 views
asked Dec 12, 2014 in Linux by administrator (9,170 points)

How to start nginx after reboot?


1 Answer

0 votes
answered Dec 12, 2014 by administrator (9,170 points)

Set propper permissions to the nginx init script:

chmod 755 /etc/init.d/nginx -v

Add the script to the default runlevels:

chkconfig nginx on

and also http://wikitechsolutions.com/5755/how-to-recover-nginx


...