aboutsummaryrefslogtreecommitdiff
path: root/www/openacs/files
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2012-01-14 08:57:23 +0000
committerDoug Barton <dougb@FreeBSD.org>2012-01-14 08:57:23 +0000
commit83eb2c37009874672764765ec3bf3b59286c7391 (patch)
treea956ace1a4a1e10876d4c36f12af02bc9df6cb29 /www/openacs/files
parent3c1484f2613137d7eaba8577f6d580c5532ac912 (diff)
downloadports-83eb2c37009874672764765ec3bf3b59286c7391.tar.gz
ports-83eb2c37009874672764765ec3bf3b59286c7391.zip
Notes
Diffstat (limited to 'www/openacs/files')
-rw-r--r--www/openacs/files/dotlrn.in7
-rw-r--r--www/openacs/files/openacs.in7
2 files changed, 10 insertions, 4 deletions
diff --git a/www/openacs/files/dotlrn.in b/www/openacs/files/dotlrn.in
index 8def4dc4d3bb..ffc7ec120485 100644
--- a/www/openacs/files/dotlrn.in
+++ b/www/openacs/files/dotlrn.in
@@ -1,8 +1,10 @@
#! /bin/sh
-#
+
+# $FreeBSD$
#
# PROVIDE: dotlrn
# REQUIRE: DAEMON NETWORKING SERVERS
+# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable dotlrn:
#
@@ -13,8 +15,10 @@
. /etc/rc.subr
name=dotlrn
+rcvar=dotlrn_enable
load_rc_config ${name}
+
: ${dotlrn_enable="NO"}
: ${dotlrn_user="%%OPENACS_USER%%"}
: ${dotlrn_group="%%OPENACS_GROUP%%"}
@@ -23,7 +27,6 @@ load_rc_config ${name}
: ${dotlrn_prog=%%AOLSERVERBASE%%/bin/nsd}
: ${dotlrn_pidfile=/var/run/dotlrn.pid}
-rcvar=`set_rcvar`
pidfile=${dotlrn_pidfile}
start_postcmd="start_postcmd"
stop_postcmd="stop_postcmd"
diff --git a/www/openacs/files/openacs.in b/www/openacs/files/openacs.in
index 1960dadfd812..61b2b83a4199 100644
--- a/www/openacs/files/openacs.in
+++ b/www/openacs/files/openacs.in
@@ -1,8 +1,10 @@
#! /bin/sh
-#
+
+# $FreeBSD$
#
# PROVIDE: openacs
# REQUIRE: DAEMON NETWORKING SERVERS
+# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable openacs:
#
@@ -13,8 +15,10 @@
. /etc/rc.subr
name=openacs
+rcvar=openacs_enable
load_rc_config ${name}
+
: ${openacs_enable="NO"}
: ${openacs_user="%%OPENACS_USER%%"}
: ${openacs_group="%%OPENACS_GROUP%%"}
@@ -23,7 +27,6 @@ load_rc_config ${name}
: ${openacs_prog=%%AOLSERVERBASE%%/bin/nsd}
: ${openacs_pidfile=/var/run/openacs.pid}
-rcvar=`set_rcvar`
pidfile=${openacs_pidfile}
start_postcmd="start_postcmd"
stop_postcmd="stop_postcmd"