mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 00:03:03 +01:00
29 lines
660 B
Plaintext
29 lines
660 B
Plaintext
|
#!/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"
|