8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 20:43:03 +01:00
firebird-mirror/builds/install/arch-specific/darwin/Firebird.startupitem/Firebird
2007-04-05 10:09:26 +00:00

29 lines
660 B
Bash

#!/bin/sh
##
# Firebird SQL Database Server
##
. /etc/rc.common
StartService ()
{
ConsoleMessage "Starting Firebird SQL Database server"
/Library/Frameworks/Firebird.framework/Resources/bin/fbmgr.bin -start
}
StopService ()
{
ConsoleMessage "Stopping Firebird SQL Database server"
/Library/Frameworks/Firebird.framework/Resources/bin/fbmgr.bin -shut -password masterkey
}
RestartService ()
{
ConsoleMessage "Restarting Firebird SQL Database server"
/Library/Frameworks/Firebird.framework/Resources/bin/fbmgr.bin -shut -password masterkey
/Library/Frameworks/Firebird.framework/Resources/bin/fbmgr.bin -start
}
RunService "$1"