aboutsummaryrefslogtreecommitdiffstats
path: root/www/apache13-modssl/files
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-05-03 12:27:23 +0800
committerdinoex <dinoex@FreeBSD.org>2004-05-03 12:27:23 +0800
commit68d6aab19d3365b21308172101cc4edf0dbd54cc (patch)
treeed6cee043cd6ebef236aedf404a224354519bf7d /www/apache13-modssl/files
parent1eacbe1ba93bba6dedab5a0844d2425657022dab (diff)
downloadfreebsd-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.sh30
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"