aboutsummaryrefslogtreecommitdiff
path: root/www/apache13
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2006-08-10 11:51:42 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2006-08-10 11:51:42 +0000
commit8452a0466524c3e82475d561993b1b59042d8111 (patch)
treea5278427e2ebfe775257a1e0a2115131b5435758 /www/apache13
parent0138481d5418929b63546966daa9610b6f45ecd7 (diff)
Notes
Diffstat (limited to 'www/apache13')
-rw-r--r--www/apache13/Makefile1
-rw-r--r--www/apache13/files/apache.sh4
2 files changed, 3 insertions, 2 deletions
diff --git a/www/apache13/Makefile b/www/apache13/Makefile
index 79efe5981abe..1e8c938fc12f 100644
--- a/www/apache13/Makefile
+++ b/www/apache13/Makefile
@@ -7,6 +7,7 @@
PORTNAME= apache
PORTVERSION= 1.3.37
+PORTREVISION= 1
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 304192b651c2..7e96fe89a2dd 100644
--- a/www/apache13/files/apache.sh
+++ b/www/apache13/files/apache.sh
@@ -26,7 +26,7 @@ command="%%PREFIX%%/sbin/httpd"
load_rc_config $name
pidfile="${apache_pidfile}"
-
-start_cmd="echo \"Starting ${name}.\"; /usr/bin/limits -U www ${command} ${apache_flags} ${command_args}"
+start_precmd="`/usr/bin/limits -e -U www`"
+start_postcmd="`/usr/bin/limits -e -C daemon`"
run_rc_command "$1"