Thanks.  Well it installs OK, but won't start - just times out.

Found some inconsistencies in the book:

*Deployment Recipes:*
"In order to use web2py as a Windows service, you must create a file 
"options.py" with startup parameters"

and one of the options mentioned "numthreads"  appears in the actual 
options_std.py file as ## deprecated; remove

... start with  

python web2py.py -W install


*The Core:*
Note that the options.py file shown in this chapter is different to the one 
in Deployment recipes.
"If you edit this file, you need to import it explicitly with the 
-Lcommand-line option. It only works if you run web2py as a Windows Service."
Deployment Recipes doesn't mention the -L option.  
Is the -L option necessary ?


So, I have changed my options.py file around, and I can successfully run 
the application by:
web2py.exe -L options.py

I can install the service OK with :
web2py.exe -W install
but, this won't work:
web2py.exe -W start, I also tried:
web2py.exe -W start -L options.py.

I also tried running as Local System Account, and a specfic Admin account,  
neither works.
Can't see anything in the System Logs.

Thanks

-- 



Reply via email to