Monday, August 28, 2023

Re: login.conf doesn't seem to be passing the enviroment variable to rc.d

On Mon, Aug 28, 2023 at 11:31:41AM -0000, Stuart Henderson wrote:
> > #!/bin/ksh daemon="/usr/local/sbin/dynaruby" name="dynaruby" .
>
> "name" is not something which is used by rc.d
>
> > Then, I set dynaruby_flags and pkg_scripts in /etc/rc.conf.local like this:
> > dynaruby_flags="" dynaruby_enable=yes pkg_scripts=dynaruby

"dynaruby_enable" is also not something which is used by rc.d.
And you don't need to set dynaruby_flags if you're using the default flags.

--
Antoine

No comments:

Post a Comment