summaryrefslogtreecommitdiff
path: root/src/bin/anoperc.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/anoperc.in')
-rw-r--r--src/bin/anoperc.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/anoperc.in b/src/bin/anoperc.in
index f1e9def49..012e4db78 100644
--- a/src/bin/anoperc.in
+++ b/src/bin/anoperc.in
@@ -98,14 +98,14 @@ elif [ "$1" = "status" ] ; then
elif [ "$1" = "restart" ] ; then
isAnopeRunning
echo "Restarting Anope"
- kill -15 `cat $ANOPEPID`
+ kill -1 `cat $ANOPEPID`
sleep 1
$ANOPROG $*
elif [ "$1" = "rehash" ] ; then
isAnopeRunning
echo "Saving Databases and Rehashing Configuration"
- kill -1 `cat $ANOPEPID`
+ kill -12 `cat $ANOPEPID`
elif [ "$1" = "version" ] ; then
$ANOPROG -version