httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@hyperreal.org
Subject cvs commit: apache-1.3/src/support apachectl
Date Sat, 14 Feb 1998 10:55:54 GMT
dgaudet     98/02/14 02:55:54

  Modified:    src/support apachectl
  Log:
  I used this for the first time... and found it emits error messages (at least
  on linux) while doing "apachectl start".
  
  Revision  Changes    Path
  1.5       +3 -3      apache-1.3/src/support/apachectl
  
  Index: apachectl
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/support/apachectl,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- apachectl	1998/01/07 16:47:10	1.4
  +++ apachectl	1998/02/14 10:55:53	1.5
  @@ -23,8 +23,8 @@
   # the path to your PID file
   PIDFILE=/usr/local/apache/logs/httpd.pid
   #
  -# the path to your httpd binary
  -HTTPD=/usr/local/apache/src/httpd
  +# the path to your httpd binary, including options if necessary
  +HTTPD='/usr/local/apache/src/httpd'
   #
   # a command that outputs a formatted text version of the HTML at the
   # url given on the command line.  Designed for lynx, however other
  @@ -49,7 +49,7 @@
       # check for pidfile
       if [ -f $PIDFILE ] ; then
   	PID=`cat $PIDFILE`
  -	PS=`ps -p $PID | tail -1 | grep $PID`
  +	PS=`ps -p $PID 2>/dev/null | tail -1 | grep $PID`
   	if [ "x$PS" = "x" ]; then
   	    STATUS="httpd (pid $PID?) not running"
   	    RUNNING=0
  
  
  

Mime
View raw message