Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2012 23:06:45 -0400
From:      Steve Wills <swills@FreeBSD.org>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        ruby@FreeBSD.org, freebsd-rc@FreeBSD.org
Subject:   Re: procname when ruby is used
Message-ID:  <503ED8C5.2010203@FreeBSD.org>
In-Reply-To: <503EC42B.6000302@FreeBSD.org>
References:  <503E6D62.3000101@FreeBSD.org> <503EC42B.6000302@FreeBSD.org>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?503ED8C5.2010203>