From owner-freebsd-ports@FreeBSD.ORG Mon Jan 18 21:12:10 2010 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B32210656A6 for ; Mon, 18 Jan 2010 21:12:10 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 003508FC18 for ; Mon, 18 Jan 2010 21:12:09 +0000 (UTC) Received: (qmail 3299 invoked by uid 399); 18 Jan 2010 21:12:09 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 18 Jan 2010 21:12:09 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4B54CEA8.8010003@FreeBSD.org> Date: Mon, 18 Jan 2010 13:12:08 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20100114 Thunderbird/3.0 MIME-Version: 1.0 To: yaizawa@2004.jukuin.keio.ac.jp, "Philip M. Gollucci" X-Enigmail-Version: 1.0 OpenPGP: id=D5B2F0FB Content-Type: multipart/mixed; boundary="------------090708060703020105080507" Cc: freebsd-ports@FreeBSD.org Subject: rc.d script for quickml X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 21:12:10 -0000 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--