Launch Nginx on startup

Posted by Richard Schneeman on Server Fault See other posts from Server Fault or by Richard Schneeman
Published on 2009-09-28T17:22:41Z Indexed on 2010/05/05 13:38 UTC
Read the original article Hit count: 239

Filed under:
|
|

I was able to install and run nginx, and passenger but i'm not able to have nginx come up whenever i reboot my server. To start the nginx process i just type in sudo /opt/nginx/sbin/nginx. From my understanding anything i put in /etc/init.d with ubuntu hardy will be execute. Does anyone know the command that will mimic this command line call?

sudo /opt/nginx/sbin/nginx

© Server Fault or respective owner

Related posts about nginx

Related posts about ubuntu