This seems to work fine as a service for me from source, current tree (as of
tonight).
A couple of notes:

>From the FAQ, http://mdp.cti.depaul.edu/AlterEgo/default/show/77

I just didn't like the look of "ip = socket.gethostname()"

--> I left this as 127.0.0.1 for my test;  also, left port as 8000

If anything, I would experiment with this - maybe something like
gethostbyname(gethostname())...

I did leave "server_name = socket.gethostname()"  (which, for local test
seems harmless enough) but I would probably try something like getfqdn() in
a "real" install.

Anyway, start / stop works;

On winXP, using the command line "sc" command shows it as service_name
web2py, and that seems a way to modify or delete the service.

I'll try this on a win2003 server tomorrow (now that I've tried this).

one thing I notice:   State:    (STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN)...

Not sure if we need to flush writes (reason to accept a shutdown)...



On Mon, Jan 5, 2009 at 11:05 PM, Iceberg <iceb...@21cn.com> wrote:

>
> ----------------------- Original Message -----------------------
> Date:    Mon, 5 Jan 2009 20:46:37 -0800 (PST)
> Subject: [web2py:14607] Re: web2py.exe can not start as windows service
> -------------------
>
> > I do not know what this means. Meanwhile I have incorporated Tim's
> > patch into
> >
> > http://mdp.cti.depaul.edu/examples/static/1.55rc2/web2py_win.zip
> >
> > Hope that helps with tests.
> >
> > Massimo
>
> Tried, still can not start as service.
>
> PS: Shouldn't it be 1.55rc4 or even rc5, rather than rc2?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to