summaryrefslogtreecommitdiff
path: root/www/apache21/files/patch-ak
blob: 486f7ad159cfbb8dab833c72f6850637dcf7b61a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- src/support/apachectl.orig	Wed Apr  7 00:36:33 1999
+++ src/support/apachectl	Fri Sep  3 15:41:01 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 
@@ -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