procname when ruby is used

Steve Wills swills at FreeBSD.org
Thu Aug 30 03:06:51 UTC 2012


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



More information about the freebsd-ruby mailing list