[Fedora-packaging] need help for a init script

philippe makowski makowski.fedora at gmail.com
Wed Jul 15 14:38:48 UTC 2009


Hi,

in the init script I do the following :

INSTANCE=default
FIREBIRD=/usr/lib/firebird
MANAGER=$FIREBIRD/bin/fbmgr.bin

....

  start)
	echo -n "Starting $FULLNAME "
	daemon --user=$FBRunUser export FIREBIRD LD_LIBRARY_PATH;echo;
$MANAGER -pidfile $pidfile -start -forever
	RETVAL=$?
	[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$name
	echo
	;;


but is seems that the OK come too fast, certainly after the "export"
not the "$MANAGER -pidfile $pidfile -start -forever"




More information about the Fedora-packaging mailing list