Slackware scripts started at rc.local need env vars from /etc/profile.d/* to be set

Posted by lisak on Server Fault See other posts from Server Fault or by lisak
Published on 2010-06-13T16:35:36Z Indexed on 2010/06/13 16:42 UTC
Read the original article Hit count: 226

Hey, I have this problem, that scripts started at boot time from rc.local don't have environment variables (defined at /etc/profile.d/*) set at the time of their startup. What should I do ?


"su - lisak -c /opt/atlassian-jira-enterprise-4.1.1-standalone/bin/startup.sh"

"su - lisak -c /opt/aaa2/at-22/bin/startup.sh"


© Server Fault or respective owner

Related posts about environment-variables

Related posts about slackware