My application periodically checks a log file for changes. If changes are found, it updates a webpage (via websockets). If no changes are found, nothing happens.
When I run the application in the console, it works exactly as desired. I've used cx_Freeze to generate an executable (and associated .DLL/supporting files), which also works as planned when the executable is run manually.
I've used NSSM to add this executable as a Windows Service (Server 2003), and added administrator login capabilities so the service can run without any active users logged in. The application doesn't appear to function 100% as a Windows Service; when changes are made to the log file, the service will only intermittently update the webpage.
Is this the best way of turning a Python application into a Windows Service, or should I avoid NSSM (I think NSSM is awesome!) and use cx_Freeze's native service functionality?