1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/www/apache13/files/patch-ak
Andrey A. Chernov 7784bb92d4 Pick official proxy_http1.1_chunking.patch
Install apache.sh as apache.sh.default first
Use limits of 'www' user for apachectl
2002-05-04 23:42:08 +00:00

20 lines
538 B
Plaintext

--- 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 -U www` >/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