mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 18:43:02 +01:00
ce8534e3c9
2. added slackware support
20 lines
505 B
Bash
20 lines
505 B
Bash
#!/bin/sh
|
|
#
|
|
# /etc/rc.d/rc.firebirdss
|
|
#
|
|
# Start/stop/restart the firebird super server.
|
|
#
|
|
|
|
export FIREBIRD=@prefix@
|
|
FBRunUser=firebird
|
|
pidfile=/var/run/firebird/`basename $0`.pid
|
|
|
|
case "$1" in
|
|
'start') echo -n "Starting Firebird server: "
|
|
echo $FIREBIRD/bin/fbmgr -pidfile $pidfile -start -forever | su $FBRunUser ;;
|
|
'stop') echo -n "Stopping Firebird server: "
|
|
if [ -f $pidfile ]; then kill `cat $pidfile`; fi ;;
|
|
'restart') $0 stop ; $0 start ;;
|
|
*) echo "usage $0 start|stop|restart" ;;
|
|
esac
|