summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-12-24 17:51:32 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-12-24 17:51:32 +0000
commit4e409e31cb648962372b4b2b7315ab4e4f5478de (patch)
treeee535e4c04e4a18bc1db163a129830232f10e052 /src/bin
parent6e7add309dd9d985666e1107bd5c840faa881137 (diff)
BUILD : 1.7.17 (1210) BUGS : 645 646 647 NOTES : Fixed anoperc restart, nickchanges on TS6, typo in CHAN_REGISTER_NONE_CHANNEL; added error messages when RDB functions fail (thx heinz)
git-svn-id: svn://svn.anope.org/anope/trunk@1210 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@929 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/anoperc.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/bin/anoperc.in b/src/bin/anoperc.in
index 012e4db78..2b187d382 100644
--- a/src/bin/anoperc.in
+++ b/src/bin/anoperc.in
@@ -98,8 +98,9 @@ elif [ "$1" = "status" ] ; then
elif [ "$1" = "restart" ] ; then
isAnopeRunning
echo "Restarting Anope"
- kill -1 `cat $ANOPEPID`
+ kill -15 `cat $ANOPEPID`
sleep 1
+ shift
$ANOPROG $*
elif [ "$1" = "rehash" ] ; then
@@ -119,10 +120,13 @@ elif [ "$1" = "help" ] ; then
echo "$0 start Start Anope"
echo " Additional parameters may be passed"
echo " (e.g. $0 start -nofork)"
- echo " For a list of type $0 $1 paramlist"
+ echo " For a list type $0 $1 paramlist"
echo "$0 stop Shutdown Anope"
echo "$0 status Show Anope's Status"
echo "$0 restart Restart Anope (Databases will be saved)"
+ echo " Additional parameters may be passed"
+ echo " (e.g. $0 restart -logchan)"
+ echi " For a list type $0 $1 paramlist"
echo "$0 rehash Rehash Configuration and Save Databases"
echo "$0 version Return Anope Version and Build Information"
echo "$0 help Show this help menu"