need help for a init script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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"

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux