summaryrefslogtreecommitdiff
path: root/www/nginx-devel/files/nginx.in
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2012-09-19 18:29:13 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2012-09-19 18:29:13 +0000
commitf624c861669667b6d8f765f7d6f72f4f266381ab (patch)
tree6b666eedc3c5c6c5e04db14877e2b009d1a813e7 /www/nginx-devel/files/nginx.in
parentUpdate from 2.6.0rc6 to 2.6.0rc7. (diff)
Fix rc script for nginx with profiles. (*)
Configure build with original http_dav if third-party http_dav_ext defined. Bump PORTREVISIONs. Found by: Slava Kokorin <slava.kokorin@gmail.com> (*)
Notes
Notes: svn path=/head/; revision=304538
Diffstat (limited to 'www/nginx-devel/files/nginx.in')
-rw-r--r--www/nginx-devel/files/nginx.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/nginx-devel/files/nginx.in b/www/nginx-devel/files/nginx.in
index eb77986fb65c..e1c413c2169c 100644
--- a/www/nginx-devel/files/nginx.in
+++ b/www/nginx-devel/files/nginx.in
@@ -47,7 +47,7 @@ load_rc_config $name
if [ -n "$2" ]; then
profile="$2"
if [ "x${nginx_profiles}" != "x" ]; then
- pidfile="${_pidprefix}.${profile}.pid"
+ pidfile="${_pidprefix}/${profile}.pid"
eval nginx_configfile="\${nginx_${profile}_configfile:-}"
if [ "x${nginx_configfile}" = "x" ]; then
echo "You must define a configuration file (nginx_${profile}_configfile)"