From owner-freebsd-rc@FreeBSD.ORG Thu Aug 30 03:06:51 2012 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 340061065670; Thu, 30 Aug 2012 03:06:51 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) by mx1.freebsd.org (Postfix) with ESMTP id E0D988FC17; Thu, 30 Aug 2012 03:06:50 +0000 (UTC) Received: from meatwad.mouf.net (cpe-024-162-230-236.nc.res.rr.com [24.162.230.236]) (authenticated bits=0) by mouf.net (8.14.5/8.14.5) with ESMTP id q7U35EHv010105 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Wed, 29 Aug 2012 23:05:14 -0400 (EDT) (envelope-from swills@FreeBSD.org) Message-ID: <503ED8C5.2010203@FreeBSD.org> Date: Wed, 29 Aug 2012 23:06:45 -0400 From: Steve Wills User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120604 Thunderbird/12.0.1 MIME-Version: 1.0 To: Doug Barton References: <503E6D62.3000101@FreeBSD.org> <503EC42B.6000302@FreeBSD.org> In-Reply-To: <503EC42B.6000302@FreeBSD.org> X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (mouf.net [199.48.129.64]); Wed, 29 Aug 2012 23:05:15 -0400 (EDT) X-Spam-Status: No, score=0.0 required=4.5 tests=none autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mouf.net X-Virus-Scanned: clamav-milter 0.97.5 at mouf.net X-Virus-Status: Clean Cc: ruby@FreeBSD.org, freebsd-rc@FreeBSD.org Subject: Re: procname when ruby is used 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: Thu, 30 Aug 2012 03:06:51 -0000 On 08/29/12 21:38, Doug Barton wrote: > > I'm pretty sure you actually want to use command_interpreter instead of > procname. It should actually be very rare to use procname directly in an > rc.d script. Got it, although that means picking the value at build time, but that seems OK. > That said, I understand the problem you are dealing with, and I agree > that we don't have a clean solution for it. I dealt with something > similar in net-mgmt/hawk, you might want to take a look at that. > Basically I brute-forced the shebang line in the installed script and > the value of command_interpreter in the rc.d script to both match > ${PERL}. Not sure if that exact solution will work for you, but > hopefully it gives you some ideas. > Yeah, it works... Thanks, Steve