mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Use more rcNG compatible method for limits(1)
PR: 101746
This commit is contained in:
parent
0138481d54
commit
8452a04665
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170273
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= apache
|
||||
PORTVERSION= 1.3.37
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
|
||||
DISTNAME= apache_${PORTVERSION}
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user