Update of /cvsroot/firebird/interbase/firebird/skywalker/install/misc
In directory slayer.i.sourceforge.net:/tmp/cvs-serv8525/misc
Added Files:
README firebird
Log Message:
New files related to the firebird install for linux/unix
--- NEW FILE ---
Firebird 1.0 Classic Server for Linux
More information can be found about the Firebird
database engine from:
http://firebird.sourceforge.net
or affiliated sites:
http://www.ibphoenix.com
http://www.interbase2000.com
The Firebird database engine is derived from the
InterBase(tm) product currently owned by Inprise.
The documentation for InterBase v 6.0 applies also to
the current FireBird release. InterBase documentation
is available in Adobe Acrobat format from
http://www.interbase.com.
--- NEW FILE ---
#!/bin/sh
# chkconfig: 345 20 80
# description: Start/Stop firebird database server
#
# This file belongs in /etc/rc.d/init.d where it will be run
# on system startup and shutdown to start the background
# Firebird/interbase database server daemon
# Source function library.
. /etc/rc.d/init.d/functions
: ${INTERBASE:=/opt/interbase}
: ${ISC_USER:=SYSDBA}
: ${ISC_PASSWORD:=masterkey}
: ${FBRunUser:=root}
# WARNING: in a real-world installation, you should not put the
# SYSDBA password in a publicly-readable file.
# Eventually this file should not need to contain any passwords.
# as root user alone should be sufficient privledge to stop/start
# the server.
export INTERBASE
export ISC_USER
export ISC_PASSWORD
# Check the file is there and is executable.
[ -x $INTERBASE/bin/ibmgr ] || exit 0
# See how we were called.
case "$1" in
start)
echo -n "Starting Firebird server: "
daemon --user $FBRunUser $INTERBASE/bin/ibmgr -start -forever
# echo '$INTERBASE/bin/ibmgr -start -forever' | su $FBRunUser
RETVAL=$?
;;
stop)
echo -n "Stopping Firebird server: "
$INTERBASE/bin/ibmgr -shut
# killproc ibserver
RETVAL=$?
# echo
# [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/identd
;;
status)
status ibserver
RETVAL=$?
;;
restart|reload)
$0 stop
$0 start
RETVAL=$?
;;
*)
echo "Usage: identd {start|stop|status|restart|reload}"
exit 1
esac
exit $RETVAL
|