From 9204bb30abd2d401e4b9fbc4fc18f000b32a8a2b Mon Sep 17 00:00:00 2001 From: "ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Sun, 16 May 2004 21:26:40 +0000 Subject: [PATCH] BUILD : 1.7.3 (109) BUGS : NOTES : make install now moves anoperc to bin, also typos and one bug in anoperc fixed (ps ux changed to ps auxw which was failing when paths were too long to fit on the screen) git-svn-id: svn://svn.anope.org/anope/trunk@109 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@85 5417fbe8-f217-4b02-8779-1006273d7864 --- Changes | 1 + Makefile | 1 + bin/anoperc | 12 ++++++------ version.log | 6 +++++- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/Changes b/Changes index b23a6b82e..b56d1e930 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ Anope Version 1.7.3 ------------------- Provided by Anope Dev. - 2004 +05/16 A make install will now move anoperc to bin, fixed anoperc bug 05/15 A New standard Changes file format. 05/15 A BSCaseSensitive directive for a cAsE sEnSiTiVe badword kicker. 05/14 A Support for +a/-a on PTLink ircd. diff --git a/Makefile b/Makefile index 4c1cbb479..2b69a99c5 100644 --- a/Makefile +++ b/Makefile @@ -75,6 +75,7 @@ distclean: spotless install: $(PROGRAM) languages $(INSTALL) services $(BINDEST)/services + $(INSTALL) bin/anoperc $(BINDEST)/anoperc rm -f $(BINDEST)/listnicks $(BINDEST)/listchans ln $(BINDEST)/services $(BINDEST)/listnicks ln $(BINDEST)/services $(BINDEST)/listchans diff --git a/bin/anoperc b/bin/anoperc index 76949da20..bc0704f12 100755 --- a/bin/anoperc +++ b/bin/anoperc @@ -31,7 +31,7 @@ fi PID=`cat $ANOPEBIN$PIDFILE` -if [ ! `ps ux | grep $ANOPROG | grep $PID | grep -v -c grep` ] ; then +if [ ! `ps auxw | grep $ANOPROG | grep $PID | grep -v -c grep` ] ; then echo "Warning: Anope is not currently running" exit 1 fi @@ -51,7 +51,7 @@ if [ "$1" = "start" ] ; then if [ -f $ANOPEBIN$PIDFILE ] ; then PID=`cat $ANOPEBIN$PIDFILE` - if [ `ps ux | grep $ANOPROG | grep $PID | grep -v -c grep` = 1 ] ; then + if [ `ps auxw | grep $ANOPROG | grep $PID | grep -v -c grep` = 1 ] ; then echo "Warning! Anope is already running" exit 1 fi @@ -61,7 +61,7 @@ fi $ANOPEBIN$ANOPROG $* sleep 1 if [ ! -f $ANOPEBIN$PIDFILE ] ; then - echo "Unfortunatly it seems Anope did not start successfully" + echo "Unfortunately it seems Anope did not start successfully" echo "This error has been logged in your Anope Log file" echo "Located in "$ANOPEBIN"logs/" echo "This may help you diagnose the problem" @@ -69,8 +69,8 @@ fi exit 1 fi PID=`cat $ANOPEBIN$PIDFILE` - if [ ! `ps ux | grep $ANOPROG | grep $PID | grep -v -c grep` ] ; then - echo "Unfortunatly it seems Anope did not start successfully" + if [ ! `ps auxw | grep $ANOPROG | grep $PID | grep -v -c grep` ] ; then + echo "Unfortunately it seems Anope did not start successfully" echo "This error has been logged in your Anope Log file" echo "Located in "$ANOPEBIN"logs/" echo "This may help you diagnose the problem" @@ -86,7 +86,7 @@ elif [ "$1" = "stop" ] ; then elif [ "$1" = "status" ] ; then if [ -f $ANOPEBIN$PIDFILE ] ; then PID=`cat $ANOPEBIN$PIDFILE` - if [ `ps ux | grep $ANOPROG | grep $PID | grep -v -c grep` = 1 ] ; then + if [ `ps auxw | grep $ANOPROG | grep $PID | grep -v -c grep` = 1 ] ; then echo "Anope is currently running" exit 1 fi diff --git a/version.log b/version.log index bfaf118dc..0d8a3c1b1 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="3" -VERSION_BUILD="108" +VERSION_BUILD="109" # $Log$ # +# BUILD : 1.7.3 (109) +# BUGS : +# NOTES : make install now moves anoperc to bin, also typos and one bug in anoperc fixed (ps ux changed to ps auxw which was failing when paths were too long to fit on the screen) +# # BUILD : 1.7.3 (108) # NOTES : Anope 1.7.3 Release #