NSSM is just what I was looking for. Simple and effective. I also agree for the use of third-party software in cases like this.
Thank you one more time for your help and availability. Saluti, David On 14 November 2012 14:09, Niphlod <[email protected]> wrote: > > > Il giorno mercoledì 14 novembre 2012 11:52:36 UTC+1, David Sorrentino ha > scritto: > >> Ok, I managed to make it work. >> I set the *ip* variable to '127.0.0.1'. >> >> So, the ActivePython environment made the trick. >> Thank you very much for your help Tim. ;) >> >> Did anyone else try to run web2py as a Windows service using the .exe >> install? I'd rather to use the .exe install because in that way I don't >> need to install Python before installing my app. >> >> > use something external, web2py binary and services doesn't really get > along. I use personally the http://nssm.cc/ package and I'm really happy > with that. > I "voted" for removing services support within web2py, the code (as all > code around windows services with python programs) is a copy-paste of a > copy-paste of a copy-paste of Mark Hammond's original recipe (and that was > for XP). > After all, programs like nssm can be more productive and are a piece of > sotware that basically deals with all the unconsistencies of the Win API. > > -- > > > > --

