summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2010-02-13 21:17:42 +0000
committerDoug Barton <dougb@FreeBSD.org>2010-02-13 21:17:42 +0000
commit1d28e3ed5f679647e8f991ae85afd7010c83123f (patch)
tree741c65529454e01be1c2a08f0fbe83c0e92eeca3 /mail
parent- reset maintainer (diff)
Update rc.d script.
Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=249807
Diffstat (limited to 'mail')
-rw-r--r--mail/quickml/Makefile2
-rw-r--r--mail/quickml/files/quickml.in17
2 files changed, 15 insertions, 4 deletions
diff --git a/mail/quickml/Makefile b/mail/quickml/Makefile
index aee71fd90676..c86b4f3ee79b 100644
--- a/mail/quickml/Makefile
+++ b/mail/quickml/Makefile
@@ -7,7 +7,7 @@
PORTNAME= quickml
PORTVERSION= 0.7
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= mail
MASTER_SITES= http://0xcc.net/quickml/
diff --git a/mail/quickml/files/quickml.in b/mail/quickml/files/quickml.in
index b281b5cabf67..cc91df66db13 100644
--- a/mail/quickml/files/quickml.in
+++ b/mail/quickml/files/quickml.in
@@ -3,16 +3,27 @@
# $FreeBSD$
#
-. %%RC_SUBR%%
+# PROVIDE: quickml
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
+# to enable this service:
+#
+# quickml_enable (bool): Set to NO by default.
+
+. /etc/rc.subr
name="quickml"
rcvar=`set_rcvar`
-command="%%RUBY%%"
-command_args="%%PREFIX%%/sbin/${name}"
+command="%%PREFIX%%/sbin/${name}"
+command_interpreter="%%RUBY%%"
pidfile="/var/run/${name}.pid"
required_files=%%PREFIX%%/etc/quickmlrc
load_rc_config $name
+: ${quickml_enable="NO"}
+
run_rc_command "$1"