Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 2010 13:12:08 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        yaizawa@2004.jukuin.keio.ac.jp,  "Philip M. Gollucci" <pgollucci@FreeBSD.org>
Cc:        freebsd-ports@FreeBSD.org
Subject:   rc.d script for quickml
Message-ID:  <4B54CEA8.8010003@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------090708060703020105080507
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

About a month ago I proposed the following changes for the rc.d script
for quickml to bring it up to date (and probably fix it since I doubt
it's currently working properly) but I just double-checked my mail
folder and realized that I forgot to explicitly send this to the
maintainer, which I'm doing now.


Doug

-- 

	Improve the effectiveness of your Internet presence with
	a domain name makeover!    http://SupersetSolutions.com/

	Computers are useless. They can only give you answers.
			-- Pablo Picasso


--------------090708060703020105080507
Content-Type: text/plain;
 name="quickml.in-diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="quickml.in-diff"

Index: quickml.in
===================================================================
RCS file: /home/pcvs/ports/mail/quickml/files/quickml.in,v
retrieving revision 1.1
diff -u -r1.1 quickml.in
--- quickml.in	17 Dec 2009 23:24:25 -0000	1.1
+++ quickml.in	18 Dec 2009 00:31:29 -0000
@@ -3,16 +3,27 @@
 # $FreeBSD: ports/mail/quickml/files/quickml.in,v 1.1 2009/12/17 23:24:25 pgollucci Exp $
 #
 
-. %%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"

--------------090708060703020105080507--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B54CEA8.8010003>