summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2004-05-07 20:20:24 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2004-05-07 20:20:24 +0000
commit21fea37d047cca6d8eeb0eb04027dd53f2f7f53d (patch)
treeece560951dcf9305b0ebb5aca329c0f1fb7cbd74
parentNew port: libXp taken from X.org release 6.7.0: (diff)
Add start_precmd to set limits of www user
-rw-r--r--www/apache13/Makefile2
-rw-r--r--www/apache13/files/apache.sh2
2 files changed, 3 insertions, 1 deletions
diff --git a/www/apache13/Makefile b/www/apache13/Makefile
index 008eee22999f..b16b3dddee2f 100644
--- a/www/apache13/Makefile
+++ b/www/apache13/Makefile
@@ -7,7 +7,7 @@
PORTNAME= apache
PORTVERSION= 1.3.29
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
DISTNAME= apache_${PORTVERSION}
diff --git a/www/apache13/files/apache.sh b/www/apache13/files/apache.sh
index d4e04946995b..03e31dd16321 100644
--- a/www/apache13/files/apache.sh
+++ b/www/apache13/files/apache.sh
@@ -27,4 +27,6 @@ load_rc_config $name
pidfile="${apache_pidfile}"
+start_precmd="`/usr/bin/limits -e -U www`"
+
run_rc_command "$1"