Re: setting enviroment variable before deamon starts



On 2008-01-18, tomb <tomb.fish@xxxxxxxxx> wrote:


Hello,

I have problem with running deamon on boot up. I register deamon to
start at boot up in /etc/rc.rd/rc.local file :

#Add you want to add deamon
/home/progs/ts &~

Deamon starts up! but it should use 2 env variables, which I register
in bash profile (/etc/bash).

How can I register environment variable before deamon starts?

Write a script that sets the variables and starts the daemon.
.



Relevant Pages

  • Re: setting enviroment variable before deamon starts
    ... Deamon starts up! ... but it should use 2 env variables, ... How can I register environment variable before deamon starts? ... If the env.vars are something that just the daemon should see, ...
    (comp.os.linux.development.apps)
  • Re: setting enviroment variable before deamon starts
    ... I have problem with running deamon on boot up. ... but it should use 2 env variables, which I register ... Facciamo quello per cui siamo stati addestrati, per cui siamo stati cresciuti, per cui siamo nati. ...
    (comp.os.linux.development.apps)
  • setting enviroment variable before deamon starts
    ... I have problem with running deamon on boot up. ... but it should use 2 env variables, which I register ...
    (comp.os.linux.development.apps)
  • Hang (or very slow ) bootup
    ... deamon' or 'Starting Name Cache Server deamon'. ... I usually reboot which works so the kernel does not ... When succesfull there is no wait after Starting ... ... On boot the order of the starting of the deamons is not always the ...
    (alt.os.linux.suse)