I've been busy too... sorry for the late reply.

Anyway, I'm already doing what you suggest, that is: exporting the
LD_LIBRARY_PATH from within a shell script in /etc/profile.d. And
although the environment variable is indeed set when I open a terminal
window, it is not set when the mongrel_rails processes are started as
a service. So if I remove the related line from the mongrel_rails
script, they are no longer able to access the database.

Anyone has an idea how to set an environment variable that is visible
to a service upon startup?

Thanks,

Chris.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to