[ 
https://issues.apache.org/jira/browse/GUACAMOLE-667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16700146#comment-16700146
 ] 

Andrzej Dorobisz commented on GUACAMOLE-667:
--------------------------------------------

We think it's quite natural feature for many applications to point 
configuration file at program startup.

Use case is as follows:
 * we have few versions of configuration file (e.g. for test purposes)
 * we choose which configuration to use during program startup (rather then 
swapping _guacd.conf_ file each time)
 * user (tester) may not have permissions to "_/etc/guacamole_" directory

 

> Enable loading configuration file from other locations than default
> -------------------------------------------------------------------
>
>                 Key: GUACAMOLE-667
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-667
>             Project: Guacamole
>          Issue Type: Improvement
>          Components: guacd
>            Reporter: Andrzej Dorobisz
>            Priority: Minor
>
> Currently, when the guacamole-server daemon starts (_src/guacd/daemon.c_) the 
> configuration file is loaded ({{guacd_conf_load()}} in 
> _src/guacd/conf-file.c_) but the path to the configuration file is fixed.
> This path is read from {{GUACD_CONF_FILE}} variable, which is set to 
> "_/etc/guacamole/guacd.conf_" during ./configure process.
> {code:java}
> ./configure.ac:AC_DEFINE_UNQUOTED([GUACD_CONF_FILE], ["$guacd_conf"], [The 
> full path to the guacd config file])
> ./configure:  guacd_conf=/etc/guacamole/guacd.conf
> {code}
> We propose to enable loading of the configuration file from the path provided 
> (on the program startup) by the user.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to