This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: cygrunsrv to have a timeout parameter for service startup


> No, 30 seconds is a hard system timeout in which a service must reply with
> an appropriate control message to let services.exe know it is ready to
> continue startup sequence.

I don't think there is a hard-coded system timeout, as long as the starting service keeps
posting its START_PENDING status, the service controller will wait.
And cygrunsrv seems to be doing that already.

MSDN doc says exactly that.  And I've also seen some articles that tell the same.

https://docs.microsoft.com/en-us/windows/desktop/api/winsvc/nf-winsvc-setservicestatus

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]