How to start nginx after reboot

0 votes
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

Ask a Question
Welcome to WikiTechSolutions where you can ask questions and receive answers from other members of the community.

You can ask a question without registration.