summaryrefslogtreecommitdiff
path: root/www/apache22/files/apache.sh
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2005-01-11 13:45:05 +0000
committerClement Laforet <clement@FreeBSD.org>2005-01-11 13:45:05 +0000
commit4e80ec5376deeec3778cd3347e3ae4b716488507 (patch)
treee1220bd15d70999277d9caedcc9df15cf27aadd1 /www/apache22/files/apache.sh
parent- Utilize MASTER_SITE_MYSQL instead of tons urls (diff)
o startup script:
- Use apache{2,21}flags variable in apache{2,21}_checkconfig(). It fixes restart when apache2ssl_enable is set to YES in rc.conf and httpd.conf is "old" (i.e. non -DSSL safe) [1] o Makefile - split post-install target to add install-startup-script: User can now upgrade startup script without reinstalling apache2. NOTE: this is NOT package-safe and NOT supported, even if in most of cases they're no risk. Noticed by: many [1]
Notes
Notes: svn path=/head/; revision=126134
Diffstat (limited to 'www/apache22/files/apache.sh')
-rw-r--r--www/apache22/files/apache.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/apache22/files/apache.sh b/www/apache22/files/apache.sh
index ecc4de893edf..f305bf576143 100644
--- a/www/apache22/files/apache.sh
+++ b/www/apache22/files/apache.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/www/apache22/files/Attic/apache.sh,v 1.7 2004-12-11 18:06:04 clement Exp $
+# $FreeBSD: /tmp/pcvs/ports/www/apache22/files/Attic/apache.sh,v 1.8 2005-01-11 13:45:05 clement Exp $
#
# PROVIDE: apache21
@@ -49,7 +49,7 @@ checkyesno apache21ssl_enable && \
apache21_checkconfig()
{
echo "Performing sanity check on apache21 configuration:"
- ${command} -t
+ ${command} ${apache21_flags} -t
}
apache21_precmd()