Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2006 15:40:53 +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:  <45816275.9090208@gmx.de>
In-Reply-To: <D687A9E4-83E3-44AF-A1FC-06F77029A638@ashleymoran.me.uk>
References:  <9EF4201C-AF13-4659-AD7A-28C077DBAA5B@ashleymoran.me.uk>	<45813EC0.8090701@gmx.de>	<A507F2AE-0823-467C-B5A1-339DB7B792DB@ashleymoran.me.uk>	<45815658.5060201@gmx.de> <D687A9E4-83E3-44AF-A1FC-06F77029A638@ashleymoran.me.uk>

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

Ashley Moran wrote:
> On 14 Dec 2006, at 13:49, [LoN]Kamikaze wrote:
>> Are you certain that this is the pidfile used by your server? Are you
>> aware that the service is responsible for creating the pidfile, not
>> rc.subr?
> 
> Yes, on both counts.  Works fine with
> 
> #!/usr/local/bin/ruby
> and
> command_interpreter="/usr/local/bin/ruby"
> 
> but not
> 
> #!/usr/bin/env ruby
> and
> command_interpreter="/usr/bin/env"
> 
> 
> Not that important really (now I've got it working one way), just strange
> 
> 
> Ashley

Maybe env replaces itself with the new process. That would explain this behaviour.



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