Subject Re: [firebird-support] Auto gfix on start
Author Alexandre Benson Smith
Rick Debay wrote:
> We're running superserver. Since FB runs as a service, we could do it
> 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.
>

I don't know the architecture of the start/stop scripts on FB.

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