1998-07-23 13:16:07 +00:00
|
|
|
*** src/support/apachectl.orig Fri Jul 17 01:25:54 1998
|
1998-07-23 20:38:33 +00:00
|
|
|
--- src/support/apachectl Fri Jul 24 00:34:59 1998
|
1997-10-22 23:51:35 +00:00
|
|
|
***************
|
1998-07-23 13:16:07 +00:00
|
|
|
*** 39,44 ****
|
|
|
|
--- 39,46 ----
|
1997-10-22 23:51:35 +00:00
|
|
|
# -------------------- --------------------
|
|
|
|
# |||||||||||||||||||| END CONFIGURATION SECTION ||||||||||||||||||||
|
|
|
|
|
1998-07-23 13:16:07 +00:00
|
|
|
+ eval `limits -e -C daemon` >/dev/null 2>&1
|
|
|
|
+
|
1997-10-22 23:51:35 +00:00
|
|
|
ERROR=0
|
|
|
|
ARGV="$@"
|
1998-07-23 13:16:07 +00:00
|
|
|
if [ "x$ARGV" = "x" ] ; then
|
|
|
|
***************
|
1998-07-23 20:38:33 +00:00
|
|
|
*** 50,56 ****
|
|
|
|
# check for pidfile
|
|
|
|
if [ -f $PIDFILE ] ; then
|
|
|
|
PID=`cat $PIDFILE`
|
|
|
|
! if kill -0 $PID; then
|
|
|
|
STATUS="httpd (pid $PID) running"
|
|
|
|
RUNNING=1
|
|
|
|
else
|
|
|
|
--- 52,58 ----
|
|
|
|
# check for pidfile
|
|
|
|
if [ -f $PIDFILE ] ; then
|
|
|
|
PID=`cat $PIDFILE`
|
|
|
|
! if kill -0 $PID > /dev/null 2>&1; then
|
|
|
|
STATUS="httpd (pid $PID) running"
|
|
|
|
RUNNING=1
|
|
|
|
else
|
|
|
|
***************
|
1998-07-23 13:16:07 +00:00
|
|
|
*** 82,87 ****
|
|
|
|
--- 84,90 ----
|
|
|
|
fi
|
|
|
|
if kill $PID ; then
|
|
|
|
echo "$0 $ARG: httpd stopped"
|
|
|
|
+ rm $PIDFILE
|
|
|
|
else
|
|
|
|
echo "$0 $ARG: httpd could not be stopped"
|
|
|
|
ERROR=4
|