NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/42642: /etc/rc.subr fails to recognize daemons started with #!/usr/bin/env

On Tue, 19 Jan 2010, wrote:
> If I build an rc.d script for an interpreted daemon, and the first
> line of the daemon is:
>    #!/usr/bin/env ruby
> Then rc.subr will fail with this error:
>   WARNING: $command_interpreter /usr/local/bin/ruby != /usr/bin/env

Does your rc.d script do any of the following, and if so, please give

  * set the command_interpreter variable;
  * set any of the procname, pidfile, or command variables;
  * invoke the check_process or check_pidfile functions;

--apb (Alan Barrett)

Home | Main Index | Thread Index | Old Index