aboutsummaryrefslogtreecommitdiffstats
path: root/russian/apache13/files/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'russian/apache13/files/patch-ak')
-rw-r--r--russian/apache13/files/patch-ak28
1 files changed, 28 insertions, 0 deletions
diff --git a/russian/apache13/files/patch-ak b/russian/apache13/files/patch-ak
new file mode 100644
index 000000000000..09c3852d49fa
--- /dev/null
+++ b/russian/apache13/files/patch-ak
@@ -0,0 +1,28 @@
+--- src/support/apachectl.orig Tue Feb 9 21:00:34 1999
++++ src/support/apachectl Fri Mar 26 00:08:20 1999
+@@ -39,6 +39,8 @@
+ # -------------------- --------------------
+ # |||||||||||||||||||| END CONFIGURATION SECTION ||||||||||||||||||||
+
++eval `limits -e -C daemon` >/dev/null 2>&1
++
+ ERROR=0
+ ARGV="$@"
+ if [ "x$ARGV" = "x" ] ; then
+@@ -50,7 +52,7 @@
+ # check for pidfile
+ if [ -f $PIDFILE ] ; then
+ PID=`cat $PIDFILE`
+- if [ ! "x$PID" = "x" ] && kill -0 $PID; then
++ if [ ! "x$PID" = "x" ] && kill -0 $PID > /dev/null 2>&1; then
+ STATUS="httpd (pid $PID) running"
+ RUNNING=1
+ else
+@@ -82,6 +84,7 @@
+ fi
+ if kill $PID ; then
+ echo "$0 $ARG: httpd stopped"
++ rm $PIDFILE
+ else
+ echo "$0 $ARG: httpd could not be stopped"
+ ERROR=4