From 4e409e31cb648962372b4b2b7315ab4e4f5478de Mon Sep 17 00:00:00 2001 From: "geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Sun, 24 Dec 2006 17:51:32 +0000 Subject: 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 --- src/bin/anoperc.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/bin') 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" -- cgit