summaryrefslogtreecommitdiff
path: root/www/apache21/files/apache.sh
diff options
context:
space:
mode:
Diffstat (limited to 'www/apache21/files/apache.sh')
-rw-r--r--www/apache21/files/apache.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/apache21/files/apache.sh b/www/apache21/files/apache.sh
index ab1a71895d0c..82405c6e8e2c 100644
--- a/www/apache21/files/apache.sh
+++ b/www/apache21/files/apache.sh
@@ -7,7 +7,7 @@ start)
[ -x ${PREFIX}/sbin/apachectl ] && ${PREFIX}/sbin/apachectl start${SSL} > /dev/null && echo -n ' apache2'
;;
stop)
- [ -r /var/run/httpd.pid ] && ${PREFIX}/sbin/apachectl stop > /dev/null && echo -n ' apache2'
+ [ -r @@DESTDIR@@/var/run/httpd.pid ] && ${PREFIX}/sbin/apachectl stop > /dev/null && echo -n ' apache2'
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2