diff options
author | dougb <dougb@FreeBSD.org> | 2010-02-14 05:17:42 +0800 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2010-02-14 05:17:42 +0800 |
commit | 86731b123c7c3c0a8194af7c45596196406ca5c1 (patch) | |
tree | 71fcc842123cf3d5f1c28a03de451ad22dde9b86 /mail/quickml | |
parent | 906afd3c5343ef220017068168bd0238d6e8a51c (diff) | |
download | freebsd-ports-gnome-86731b123c7c3c0a8194af7c45596196406ca5c1.tar.gz freebsd-ports-gnome-86731b123c7c3c0a8194af7c45596196406ca5c1.tar.zst freebsd-ports-gnome-86731b123c7c3c0a8194af7c45596196406ca5c1.zip |
Update rc.d script.
Approved by: maintainer timeout
Diffstat (limited to 'mail/quickml')
-rw-r--r-- | mail/quickml/Makefile | 2 | ||||
-rw-r--r-- | mail/quickml/files/quickml.in | 17 |
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" |