8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 00:03:03 +01:00
firebird-mirror/builds/install/arch-specific/darwin/Firebird.startupitem/Firebird

29 lines
660 B
Plaintext
Raw Normal View History

2007-04-05 12:09:26 +02:00
#!/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"