4 [ -z "$srcdir" ] && srcdir=`dirname $0`
7 . ${srcdir}/functions.inc
15 echo_n "reloading server ${id} ..."
17 # reload (sighup) test-server ...
18 pid=`./getpid.sh T-ngircd${id}`
19 if [ -z "$pid" ]; then
20 echo " failure: no running server found!?"
23 kill -HUP $pid > /dev/null 2>&1; r=$?
27 kill -0 $pid && exit 0
29 echo " failure: server ${id} could not be reloaded!"