diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-06-05 14:25:18 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-06-05 14:25:18 +0000 |
commit | 2c2aa04c4519ed77a81cae8d62951c40fdd3bee5 (patch) | |
tree | 5b19df490463cc873f3ce30f11623201d61243f4 /www/apache13-modperl/files/apache.sh | |
parent | - Sync pkg-descr with reality. (diff) |
Add apache13-modperl, an Apache web server with mod_perl statically compiled in.
PR: ports/67051
Submitted by: Rod Taylor <ports@rbt.ca>
Notes
Notes:
svn path=/head/; revision=110888
Diffstat (limited to 'www/apache13-modperl/files/apache.sh')
-rw-r--r-- | www/apache13-modperl/files/apache.sh | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/www/apache13-modperl/files/apache.sh b/www/apache13-modperl/files/apache.sh new file mode 100644 index 000000000000..bc1f82cc4373 --- /dev/null +++ b/www/apache13-modperl/files/apache.sh @@ -0,0 +1,32 @@ +#!/bin/sh +# $FreeBSD: /tmp/pcvs/ports/www/apache13-modperl/files/Attic/apache.sh,v 1.1 2004-06-05 14:25:18 pav Exp $ + +# PROVIDE: apache +# REQUIRE: DAEMON +# BEFORE: LOGIN +# KEYWORD: FreeBSD shutdown + +# Define these apache_* variables in one of these files: +# /etc/rc.conf +# /etc/rc.conf.local +# /etc/rc.conf.d/apache +# +# DO NOT CHANGE THESE DEFAULT VALUES HERE +# +apache_enable="NO" +apache_flags="" +apache_pidfile="/var/run/httpd.pid" + +. %%RC_SUBR%% + +name="apache" +rcvar=`set_rcvar` +command="%%PREFIX%%/sbin/httpd" + +load_rc_config $name + +pidfile="${apache_pidfile}" + +start_precmd="`/usr/bin/limits -e -U www`" + +run_rc_command "$1" |