Subject | Re: [firebird-support] Auto gfix on start |
---|---|
Author | Alexandre Benson Smith |
Post date | 2007-01-12T22:48:26Z |
Rick Debay wrote:
But even using SS you could add some lines to the star/stop script to
write a flag file, and in the start script, do a gfix if the flag file
are in place (what's mean that the stop was not done correctly)
see you !
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br
> We're running superserver. Since FB runs as a service, we could do itI don't know the architecture of the start/stop scripts on FB.
> as part of the start and stop scripts there. However, I was hoping to
> not do that if no one was connected to the database when it closed. I
> guess there is no need to over think/optimize it, and just run gfix on
> start if the service doesn't close cleanly.
>
But even using SS you could add some lines to the star/stop script to
write a flag file, and in the start script, do a gfix if the flag file
are in place (what's mean that the stop was not done correctly)
see you !
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br