Re: start-stop-daemon: how to pass environment variables to the daemon
Yuwen Dai wrote:
> A daemon invoked by start-stop-daemon needs some extra enviroment
> variables. How to pass them to the daemon? Thanks in advance.
Typically in Debian start-stop-daemon is called from within the boot
time /etc/init.d/* scripts. Typically those scripts will source
customization files from /etc/default/@DAEMONNAME@. You did not say
but if your situation is typical then customizing the corresponding
/etc/default/ file will be the most normal way to do it.
Bob
Reply to: