3 # $Id: start-server.sh,v 1.2 2002/09/09 22:56:07 alex Exp $
5 echo " starting server ..."
7 echo "This is an ngIRCd Test Server" > ngircd-test.motd
9 ../ngircd/ngircd -np -f ngircd-test.conf > ngircd-test.log 2>&1 &
12 pid=`ps a | grep ngircd-test | head -n 1 | cut -d ' ' -f 1`
13 kill -0 $pid > /dev/null 2>&1