Anonymous | Login | Signup for a new account | 10-30-2024 04:15 PDT |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002783 | [Resin] | minor | always | 07-11-08 13:34 | 07-14-08 09:15 | ||||
Reporter | ferg | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.6 | ||||||
Summary | 0002783: environment variables in resin.conf | ||||||||
Description |
(rep by Robert Heerdink) We need to make use of an environmental variable inside of the resin.conf of Resin 3.0.x on Linux. We have tried several variations but it is obvious that the variable is not being used. Here is what we added to the /etc/init.d/resin : ARCH=`uname -i` export ARCH Here is what we tried in the resin/conf/resin.conf: <tree-loader path="${resin.home}/lib-${ARCH}"/> <tree-loader path="${resin.home}/lib-$ARCH"/> It works if we hard code the path in resin/conf/resin.conf: <tree-loader path="${resin.home}/lib-i386"/> Can we use shell/OS environmental variables in resin.conf? Anything in the EL functions/variables which would allow us to detect the OS architecture inside the resin.conf? |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |