From owner-freebsd-rc@FreeBSD.ORG Sat May 21 18:23:38 2011 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 488821065674 for ; Sat, 21 May 2011 18:23:38 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 65-241-43-5.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 0FDE9164279; Sat, 21 May 2011 18:23:19 +0000 (UTC) Message-ID: <4DD80316.8050100@FreeBSD.org> Date: Sat, 21 May 2011 11:23:18 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110429 Thunderbird/3.1.10 MIME-Version: 1.0 To: utisoft@gmail.com References: <4DD6993F.3080709@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-rc@freebsd.org Subject: Re: get_pidfile_from_conf usage X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 May 2011 18:23:38 -0000 On 05/20/2011 23:57, Chris Rees wrote: > Oh yes, I know it_works_, but it's ignorant of $pidfile. Is this OK? If you're concerned, you can add status_precmd=musicpd_getpidfile. But if rc.subr doesn't know the value of $pidfile then it checks the process list for the command, so either way should be fine. Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/