Nick,
guess I had a similar problem. My solution was:
[]
cnf=oboxparm.readini()
class oboxservice(win32serviceutil.ServiceFramework):
_svc_name_=cnf.get("system","_svc_name_")
_svc_display_name_ = cnf.get("system","_svc_display_name_")
_svc_description_ = cnf.get("system","_svc_d
I have a need to write a service that can take multiple guises.
So I would like one set of code, and to be able to install a dev service, a
uat service, a test service etc.
so something like
python NickService.py -environment=DEV -config=c:\config\NickService.config
for the install.
This would