In static mode you should use this system property:

https://github.com/apache/karaf/blob/main/services/staticcm/src/main/java/org/apache/karaf/services/staticcm/Activator.java#L33

Le sam. 27 août 2022, 12:23, Mark Derricutt <[email protected]> a écrit :

> Hrm,
>
> I modified config.properties to include ( and previously,
> custom.properties which config includes) to:
>
>
> felix.fileinstall.dir    = ${karaf.etc}, /tmp/etc
>
>
> but nothing from /tmp/etc got loaded/picked up as configuration.
>
> I’m running 4.4.1 static mode, which I guess is why “file watching”
> doesn’t work.
>
> I did manage to “work around” it by copy the config from /tmp/etc into
> the normal etc on startup ( docker image, bind mount for external config
> ) which works - but kind of feels dirty.
>
> Mark
>
> --
> "Great artists are extremely selfish and arrogant things" — Steven Wilson,
> Porcupine Tree
>
>
> On 25/08/2022 at 7:40:39 PM, Jean-Baptiste Onofré <[email protected]> wrote:
>
>> You are welcome. Just let me know if you need help with that
>>
>
>

Reply via email to