Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2011 11:23:18 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        utisoft@gmail.com
Cc:        freebsd-rc@freebsd.org
Subject:   Re: get_pidfile_from_conf usage
Message-ID:  <4DD80316.8050100@FreeBSD.org>
In-Reply-To: <BANLkTim3xPkto1VunBcNBx-yk%2B-9NLO3iw@mail.gmail.com>
References:  <BANLkTin22u9QvvoxCGf44vw_pr0ZMeo8PQ@mail.gmail.com> <4DD6993F.3080709@FreeBSD.org> <BANLkTim3xPkto1VunBcNBx-yk%2B-9NLO3iw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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/




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