rc.d script for processes started with /usr/bin/env

Ashley Moran work at ashleymoran.me.uk
Thu Dec 14 06:02:02 PST 2006


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


More information about the freebsd-questions mailing list