Subject Re: [firebird-support] Re: Firebird Shutdown - from command line
Author Helen Borrie
At 05:48 AM 12/08/2004 +0000, you wrote:
>thanks for the reply... but this solution is for firebird installed as
>a service. is there any equivalent for the application version?

Shutting down an executable from an application is something you have to do
programmatically, via the Windows API, unless the executable itself has an
accessible command-line routine that you can call to shut it down. As an
application, fbserver.exe provides several command-line options but
shutdown is not one of them. The reason is good: a user application has
no way to determine whether or not it is the last connection to any
database that the server is running. Allowing a user to shut down the
server is not cool. Running the server as an application with the ability
shut it down from the tray is actually not cool at all, if there are
multiple users.

Even when fbserver is running as a service, an ordinary user can't shut it
down. A user with special privileges, or another service which itself has
or requires special privs, can do it