flaxsearch / flaxcode

Automatically exported from code.google.com/p/flaxcode
4 stars 1 forks source link

Check that flax, when run as a service on windows, responds correctly to logoff and shutdown #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We need to get it working at all, first, but two things I've come across
reference to not working for other python processes running as services:

1) When the service is started from a dos prompt (using "python
flax_service.py start"), and the user who started the service logs off,
check that the service continues running.  I've added a CtrlHandler to
flax_service.py which should do the appropriate thing here, following
documentation on the web, but haven't tested it.

2) When the service is running and the machine is shutdown, does the
service shut down cleanly?  In particular, I'm concerned that the
CtrlHandler I've installed might cause problems with shutdown, possibly
even popping up a warning window.

Assigning to Charlie, since I can't really test problems with rebooting
using mongoose.

Original issue reported on code.google.com by boulton.rj@gmail.com on 13 Oct 2007 at 10:15

GoogleCodeExporter commented 9 years ago

Original comment by boulton.rj@gmail.com on 2 Nov 2007 at 12:18

GoogleCodeExporter commented 9 years ago
2) No problem; if indexing is running it stops and needs to be started manually
again; no popup windows.

1) Is this relevant? We only start Flax as a service using 'net start 
flaxservice',
via the installation package, and in this case nothing odd happens if the user 
who
installed it logs off.

Closing this for now as it all seems fine.

Original comment by charliej...@gmail.com on 9 Nov 2007 at 4:41