Re: start-stop-daemon: how to pass environment variables to the daemon
Hi,
On Fri, 13 Jul 2007 06:20:09 +0200 Dallas Clement wrote:
> On Fri, 2007-07-13 at 11:13 +0800, 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.
>
> I'm not sure if you meant environment variables or command line
> arguments for the daemon. Here is an example of how to provide a
> command line arg to the udhcpc daemon. You just put a '--' in front.
man start-stop-daemon: "Any arguments given after -- on the command line
are passed unmodified to the program being started."
Cheers,
Simon
Reply to: