From 96fa3156a84c200ac574bcca4aa9c71dc1e30a52 Mon Sep 17 00:00:00 2001 From: "Philip M. Gollucci" Date: Thu, 21 Oct 2010 18:00:15 +0000 Subject: - The previous update to the rc.d script didn't quite maintain the old behavior correctly. This fixes the pid file name PR: ports/151623 Submitted by: Vivek Khera With Hat: apache@ Point hat to: myself (pgollucci) --- www/apache22/Makefile | 1 + www/apache22/files/apache22.in | 1 + 2 files changed, 2 insertions(+) (limited to 'www') diff --git a/www/apache22/Makefile b/www/apache22/Makefile index 21878c900f28..80e03a7f5bc2 100644 --- a/www/apache22/Makefile +++ b/www/apache22/Makefile @@ -9,6 +9,7 @@ PORTNAME= apache PORTVERSION= 2.2.17 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} DISTNAME= httpd-${PORTVERSION} diff --git a/www/apache22/files/apache22.in b/www/apache22/files/apache22.in index be1de3dc4b2a..a324238caf9f 100644 --- a/www/apache22/files/apache22.in +++ b/www/apache22/files/apache22.in @@ -64,6 +64,7 @@ load_rc_config $name if [ -n "$2" ]; then profile="$2" if [ "x${apache22_profiles}" != "x" ]; then + pidfile="${_pidprefix}.${profile}.pid" eval apache22_configfile="\${apache22_${profile}_configfile:-}" if [ "x${apache22_configfile}" = "x" ]; then echo "You must define a configuration file (apache22_${profile}_configfile)" -- cgit v1.2.3