[python-win32] setting my windows service as automatic instead of manual

Tim Roberts timr at probo.com
Thu Nov 29 19:35:15 CET 2007


Patrick Li wrote:
> Hi,
>
> I have created a simple windows service using win32serviceutil.  I was
> able to use py2exe to turn it into a windows executable successfully. 
> However, I cannot figure out how I can get the startup type of this
> service to "automatic" instead of "manual".   I understand that I can
> go through the control panel to do this manually, but I'd like the
> service to be shipped with the automatic start up type instead of manual.
>
> Does anyone know how I can do that?

Pass --startup=auto on the command line.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list