summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-08-29 19:28:04 -0400
committerAdam <Adam@anope.org>2010-08-29 19:28:04 -0400
commitf2769273652f61f1d620c98a94b9c95983ed5647 (patch)
tree6d8c77e680258c095221d4ef98cf04845666d621 /src/bin
parentd70f1a43bc9520b3db22534fee07a047be4fa4d1 (diff)
Redo some of the sighandling code, and made anoperc rehash actually work.
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/anoperc.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/anoperc.in b/src/bin/anoperc.in
index f50174042..94cdd6316 100644
--- a/src/bin/anoperc.in
+++ b/src/bin/anoperc.in
@@ -93,7 +93,6 @@ elif [ "$1" = "status" ] ; then
echo "Anope is not currently running"
-## :/ SIGUSR2 is ignored after the first restart so we stop / start Anope for now ##
elif [ "$1" = "restart" ] ; then
isAnopeRunning
echo "Restarting Anope"
@@ -105,7 +104,7 @@ elif [ "$1" = "restart" ] ; then
elif [ "$1" = "rehash" ] ; then
isAnopeRunning
echo "Saving Databases and Rehashing Configuration"
- kill -12 `cat $ANOPEPID`
+ kill -1 `cat $ANOPEPID`
elif [ "$1" = "version" ] ; then
$ANOPROG -version