summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2001-10-16 17:59:13 +0000
committerDonny Davies <woodchip@gentoo.org>2001-10-16 17:59:13 +0000
commit28848da07630afec08ed270a139500d28a181bcd (patch)
tree44bd246102e2c8a7f77e776912d6c089791d6d76 /net-www/apache
parentcrap, forgot to add the actual ebuild, sorry dudes :o( (diff)
downloadgentoo-2-28848da07630afec08ed270a139500d28a181bcd.tar.gz
gentoo-2-28848da07630afec08ed270a139500d28a181bcd.tar.bz2
gentoo-2-28848da07630afec08ed270a139500d28a181bcd.zip
added a commented options line
Diffstat (limited to 'net-www/apache')
-rw-r--r--net-www/apache/files/httpd.rc69
1 files changed, 6 insertions, 3 deletions
diff --git a/net-www/apache/files/httpd.rc6 b/net-www/apache/files/httpd.rc6
index 425bf4aada12..a6a4420e2031 100644
--- a/net-www/apache/files/httpd.rc6
+++ b/net-www/apache/files/httpd.rc6
@@ -1,13 +1,16 @@
#!/sbin/runscript
+#you can put this in your rc.conf file if you wish
+#HTTPD_OPTS="-D SSL -D PHP4
+
depend() {
need net
}
checkconfig() {
if [ ! -e /etc/httpd/httpd.conf ] ; then
- eerror "You need an /etc/httpd/httpd.conf to run Apache"
- eerror "There is a sample file in /usr/share/docs/apache"
+ eerror "You need an /etc/httpd/httpd.conf to run apache"
+ eerror "There is a sample file in /usr/share/doc/apache"
return 1
fi
}
@@ -15,7 +18,7 @@ checkconfig() {
start() {
checkconfig || return 1
ebegin "Starting Apache"
- start-stop-daemon --quiet --start --exec /usr/sbin/httpd
+ start-stop-daemon --quiet --start --exec /usr/sbin/httpd -- $HTTPD_OPTS
eend $?
}