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