Subject instsvc stop doesn't stop server (running) if guardian already stopped
Author amoradell
Hi,

Happy new year to all.

On windows, I have a batch file where I stop Firebird SS 1.5.3 with
"instsvc stop"
The configuration:
- firebird super server installed as as service with guardian.

When I execute batch file, if guardian is running and server is
running, everything is ok but if guardian is stopped before and
server is running, "instsvc stop" sees that guardian is stopped and
do nothing and server keeps running. and I want it to stop !

I suppose that normally "instsvc stop" tells guardian to stop and
after guardian stops server.

So I would rather use
net stop firebirdguardiandefaultinstance
net stop firebirdguardianserverinstance

or could I type "instsvc stop -s" ?

I saw that I could check with "instsvc q"
and instsvc q | find "Status : stopped" /C
should return 2 (guardian and server)

Thanks

Alexandre