diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/bin/anoperc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/anoperc b/src/bin/anoperc index 0f3900f52..243e5387c 100755 --- a/src/bin/anoperc +++ b/src/bin/anoperc @@ -88,7 +88,7 @@ elif [ "$1" = "stop" ] ; then isAnopeRunning echo "Terminating Anope" PID=`cat $ANOPEBIN$PIDFILE` - kill -SIGTERM $PID + kill -15 $PID elif [ "$1" = "status" ] ; then if [ -f $ANOPEBIN$PIDFILE ] ; then @@ -105,13 +105,13 @@ elif [ "$1" = "restart" ] ; then isAnopeRunning echo "Restarting Anope" PID=`cat $ANOPEBIN$PIDFILE` - kill -SIGHUP $PID + kill -1 $PID elif [ "$1" = "rehash" ] ; then isAnopeRunning echo "Saving Databases and Rehashing Configuration" PID=`cat $ANOPEBIN$PIDFILE` - kill -SIGUSR2 $PID + kill -12 $PID elif [ "$1" = "version" ] ; then $ANOPEBIN$ANOPROG -version |