Hi Dominik,

yes, no problem.

To do so, you have to edit etc/config.properties.

Here you will find:

felix.fileinstall.enableConfigSave = true
felix.fileinstall.dir    = ${karaf.etc}
felix.fileinstall.filter = .*\\.(cfg|config)
felix.fileinstall.poll   = 1000
felix.fileinstall.noInitialDelay = true
felix.fileinstall.log.level = 3
felix.fileinstall.log.default = jul

You can add a new folder in felix.fileinstall.dir properties, for instance:

felix.fileinstall.dir=${karaf.etc},${karaf.etc}/my_conf

As your folder is a subfolder of etc, you can also use:

felix.fileinstall.subdir.mode = recurse

instead of the list of folder.

Up to you ;)

Regards
JB

On 03/08/2018 09:53 AM, Dominik Marciniszyn wrote:
> Hi,
> 
> Is it possible to put my cfg files in for example /etc/my_conf/ and karaf
> will be able to read from them?
> 
> Thank you for any help
> Dominik
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to