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
The following reply was made to PR bin/42642; it has been noted by GNATS.
From: Alan Barrett <apb%cequrux.com@localhost>
To: netbsd-bugs%NetBSD.org@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: bin/42642: /etc/rc.subr fails to recognize daemons started
with #!/usr/bin/env
Date: Thu, 28 Jan 2010 19:53:39 +0200
On Tue, 19 Jan 2010, eravin%panix.com@localhost 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
details:
* 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