tech-userlevel archive

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

Re: rc.d environment inheritance



Roy Marples wrote:
> You missed the point :)

Ah, sorry, I see now.  :-)

> One might argue that the daemon in pkgsrc should be patched to use the
> hardcoded path, but what if the daemon is in base and can optionally use
> a pkgsrc supplied program?

If you want the daemon to rely on $PATH, why not set $PATH in the script
before launching the daemon?  Alternatively, make the directory a
command-line option for the daemon.  

(Hope I understood this time!)

--jkl




Home | Main Index | Thread Index | Old Index