Posted by Slawek on 02/08/07 16:39
I would like to run a script at startup under SuSE 9. I read and
figured out that it can be done using chkconfig and setting the proper
run level. The problem I have currently is that I depend on system
environmental variables being available for PHP. I am using PHP as a
scripting language (nothing to do with the web), and this PHP script
is called from the start up bash script, but it cannot retrieve any
environmental vars at runlevel 3.
When are environmental vars set and at which runlevel? Or should I do
this some other way?
Thanks,
Slawek
Navigation:
[Reply to this message]
|