4 pidfile
=/var
/run
/$daemon_name.pid
5 manager
=/opt
/firebird
/bin
/fbmgr.bin
13 stat_busy
"Starting $daemon_name daemon"
15 su
- $runas -c "$manager -pidfile $pidfile -start -forever > /dev/null 2>&1"
21 add_daemon
$daemon_name
27 stat_busy
"Stopping $daemon_name daemon"
29 kill `cat $pidfile` > /dev
/null
2>&1
35 rm_daemon
$daemon_name
47 echo "usage: $0 {start|stop|restart}"