diff options
author | dinoex <dinoex@FreeBSD.org> | 2004-05-03 12:27:23 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2004-05-03 12:27:23 +0800 |
commit | 68d6aab19d3365b21308172101cc4edf0dbd54cc (patch) | |
tree | ed6cee043cd6ebef236aedf404a224354519bf7d /www/apache13-modssl/files | |
parent | 1eacbe1ba93bba6dedab5a0844d2425657022dab (diff) | |
download | freebsd-ports-gnome-68d6aab19d3365b21308172101cc4edf0dbd54cc.tar.gz freebsd-ports-gnome-68d6aab19d3365b21308172101cc4edf0dbd54cc.tar.zst freebsd-ports-gnome-68d6aab19d3365b21308172101cc4edf0dbd54cc.zip |
- rcNG-fy
Submitted by: nork
WARNING installing the package will overwrite your "etc/rc.d/apache.sh"
installing from port is safe
- new option WITHOUT_RC_SUBR
Diffstat (limited to 'www/apache13-modssl/files')
-rw-r--r-- | www/apache13-modssl/files/rcng.sh | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/www/apache13-modssl/files/rcng.sh b/www/apache13-modssl/files/rcng.sh new file mode 100644 index 000000000000..e3036de88757 --- /dev/null +++ b/www/apache13-modssl/files/rcng.sh @@ -0,0 +1,30 @@ +#!/bin/sh +# $FreeBSD$ + +# 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="-DSSL" +apache_pidfile="/var/run/httpd.pid" + +. %%RC_SUBR%% + +name="apache" +rcvar=`set_rcvar` +command="%%PREFIX%%/sbin/httpd" + +load_rc_config $name + +pidfile="${apache_pidfile}" + +run_rc_commmand "$1" |