mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
7784bb92d4
Install apache.sh as apache.sh.default first Use limits of 'www' user for apachectl
20 lines
538 B
Plaintext
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
|