Mantis Bugtracker

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

- Relationships

- Notes
07-14-08 09:15


- Issue History
Date Modified Username Field Change
07-11-08 13:34 ferg New Issue
07-14-08 09:15 ferg Note Added: 0003271
07-14-08 09:15 ferg Assigned To  => ferg
07-14-08 09:15 ferg Status new => closed
07-14-08 09:15 ferg Resolution open => fixed
07-14-08 09:15 ferg Fixed in Version  => 3.2.0

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker