how to force a python service to reconfigure itself after updating?

Sylwia lubowiecka at go2.pl
Tue Apr 13 03:10:57 EDT 2004


Thanks for help!

Best wishes,

Farraige

"Larry Bates" <lbates at swamisoft.com> wrote in message news:<bdGdnceh5fdMKOvd4p2dnA at comcast.com>...
> You could move the reading of the configuration
> file inside the loop so it is read each time
> the service wakes up.  Unless your configuration
> file is huge (10,000+ lines), the overhead is
> negligible.
> 
> The other alternative is to put a socket server
> inside the service and have a small external
> program to send something to it when it needs
> to reread the config file.



More information about the Python-list mailing list