Subject | Re: [firebird-support] Firebird Server (Service Startup) |
---|---|
Author | Olivier Mascia |
Post date | 2004-01-07T16:10:59Z |
Dear,
On Wed, 7 Jan 2004 16:16:13 +0200,
Andre du Plessis wrote :
An other way of doing it (which don't require to use the service
dependencies) :
In the startup code of your service, open the service manager, and
query wether the fbserver service is started, then release the
service manager. I have seen in the past that relying on services
dependency is sometimes not enough. Polling the service manager for
confirmation that fbserver has started should introduce enough
additionnal delay.
If you stick to the service dependencies, please first make sure that
your service dependency is correctly defined. The FB 1.5 service name
has changed since the early RC and it is different than the one of FB
1.0.
--
Best Regards,
Olivier Mascia
On Wed, 7 Jan 2004 16:16:13 +0200,
Andre du Plessis wrote :
> This is rather a less than elegant solution.Just feel free to implement another one. :)
An other way of doing it (which don't require to use the service
dependencies) :
In the startup code of your service, open the service manager, and
query wether the fbserver service is started, then release the
service manager. I have seen in the past that relying on services
dependency is sometimes not enough. Polling the service manager for
confirmation that fbserver has started should introduce enough
additionnal delay.
If you stick to the service dependencies, please first make sure that
your service dependency is correctly defined. The FB 1.5 service name
has changed since the early RC and it is different than the one of FB
1.0.
--
Best Regards,
Olivier Mascia