Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2006 13:08:32 +0100
From:      "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de>
To:        Ashley Moran <work@ashleymoran.me.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: rc.d script for processes started with /usr/bin/env
Message-ID:  <45813EC0.8090701@gmx.de>
In-Reply-To: <9EF4201C-AF13-4659-AD7A-28C077DBAA5B@ashleymoran.me.uk>
References:  <9EF4201C-AF13-4659-AD7A-28C077DBAA5B@ashleymoran.me.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

Ashley Moran wrote:
> Hi
> 
> I just wrote a little ruby web server for internal use.  I wrote it on
> my mac to deploy on FreeBSD, so I used "#!/usr/bin/env ruby" as the
> shebang.  But when I do that, I can't stop the server with my rc.d
> script (below).  If I change them both to /usr/local/bin/ruby I can make
> it work.
> 
> Is it possible to use /usr/bin/env like this?
> 

All you need to do is to set

command_interpreter="/usr/bin/env"

for more information have a look at rc.subr(8).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45813EC0.8090701>