Re: start-stop-daemon: how to pass environment variables to the daemon

2007-07-16 Thread Yuwen Dai
man start-stop-daemon: "Any arguments given after -- on the command line are passed unmodified to the program being started." I mean the environment variables that will be recognized by the invoked daemon. I have solved this by adding NAME=xxx pairs preceding start-stop-daemon: VAR1=xxx VAR

Re: start-stop-daemon: how to pass environment variables to the daemon

2007-07-13 Thread Simon Brandmair
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

Re: start-stop-daemon: how to pass environment variables to the daemon

2007-07-12 Thread Bob Proulx
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

Re: start-stop-daemon: how to pass environment variables to the daemon

2007-07-12 Thread Dallas Clement
On Fri, 2007-07-13 at 11:13 +0800, Yuwen Dai wrote: > Dear all, > > A daemon invoked by start-stop-daemon needs some extra enviroment > variables. How to pass them to the daemon? Thanks in advance. > > Best regards, > Yuwen I'm not sure if you meant environment variables or command line argume

start-stop-daemon: how to pass environment variables to the daemon

2007-07-12 Thread Yuwen Dai
Dear all, A daemon invoked by start-stop-daemon needs some extra enviroment variables. How to pass them to the daemon? Thanks in advance. Best regards, Yuwen