How about an alternate method?

Install Autoexnt from the NT resource kit.
Set your service to start manually. 
Create an Autoexnt.bat that waits until the database service is started
before doing a "net start YourServicehere". 


-----Original Message-----
From: John Deighan [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2003 1:36 PM
To: [EMAIL PROTECTED]
Subject: PerlSvc


I have a service, that I've created with PerlSvc. Occasionally, it
doesn't 
start up correctly after a reboot, and I suspect that it's because it 
accesses a database, and the database server may not have started 
completely when my service is started. Under Windows, one service can be

"dependent" on another service, so that services are started in the 
required order. However, the PerlSvc documentation gives no way for me
to 
specify such dependency relationships, and the Services control panel, 
though it will display such relationships if they exist, doesn't seem to

allow me to specify such a dependency. Does anyone know how to do that?

_______________________________________________
Perl-Win32-Users mailing list [EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

<<winmail.dat>>

Reply via email to