Hold the press! Problem solved! I've posted details in the howto guide on properly running nginx as a service. Although I'd still love this feature to become part of nginx one day. http://forum.nginx.org/read.php?11,14292by misterdai - Ideas and Feature Requests
Hi, I've managed to correctly get Nginx running as a Windows Service. Other methods I've see using the Microsoft tools "instsrv/srvany" or FireDaemon don't stop the process correctly and even though it stops the main process it leaves an additional "nginx.exe" process running. You can imagine that after a few service restarts you'll have quite a few orphan processes lyingby misterdai - How to...
Thanks for the information MasterMind, but I found a problem with using Nginx with FireDaemon. Nginx actually starts two processes and although FireDaemon can shut down the main process and start another, it does leave the other one running. This means that every time you restart the service (without restarting the whole computer) you're left with an orphaned process running for each restart (10by misterdai - Ideas and Feature Requests
Hi, I managed to add nginx as a Windows service using srvany.exe but it didn't behave how I'd like it too. It wouldn't stop all the nginx.exe processes, only the one it started. I even tried using the Windows version of Lighttpd service process to start nginx instead and it too left the extra processes running. Is there any update from Igor on Windows Service support? It's the only thinby misterdai - Ideas and Feature Requests