Interesting.

However why call nssm the "best" way to do this but still ship the
winservice.py file?

If nssm was truly *the* way to do this then I would think the book (which
was just updated) would have removed the section about the winservice.py
and only talk about nssm or at least make an effort to promote nssm over
the native script.

This doesn't make a whole lot of sense from the standpoint of having
"everything" in the box with web2py.

As far as support goes, Massimo is intent on supporting ie 7 for web2py's
editor because some people still use it. So supporting new/different
versions of windows is already being done not to mention the method for
setting up a system service has hardly changed since XP (12+years)

Regardless I already have a 2 line patch that ill submit to fix this issue
once the site is back up.
 from web2py's standpoint, having someone else (the nssm process) to care
for service integration is more straightforward, i.e. it runs exactly as if
it was launched "normally".
Of course winservice.py can be patched and fixed etc etc etc but either
someone takes care of testing it under every Windows OS, for every web2py
release, for every web2py feature, or it will remain as something that
"sometimes work, sometimes doesn't".

Given that for each job there's "a best tool", and that the "best tool" for
this job is:
-  free
- available
- requires no absolute time to set up

I'd go for nssm all the times (and that's why a slice was posted at
http://www.web2pyslices.com/slice/show/1614/nssm-webserver-and-scheduler-as-services-in-windows-oseson
the matter)

-- 

---
You received this message because you are subscribed to a topic in the
Google Groups "web2py-users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/web2py/oWmanNSKxdc/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to
web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to