summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b <ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-03-29 21:50:51 +0000
committerribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b <ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-03-29 21:50:51 +0000
commit30b5214eef71207faac602a63a1aa82763a5473b (patch)
treea3c48f121c467dad9abd3a9065eb079eb9941b55 /src
parente97d88fa34fa8e96b1d4468536bb8f6debd606b9 (diff)
BUILD : 1.7.8 (652) BUGS : NOTES : Changed anoperc to use numerics for compliance.
git-svn-id: svn://svn.anope.org/anope/trunk@652 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@500 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rwxr-xr-xsrc/bin/anoperc6
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