Hi,
That will work in dynamic mode. In static mode, you have to use system
properties.
Regards
JB
On Sat, Aug 27, 2022 at 12:23 PM Mark Derricutt wrote:
>
> Hrm,
>
> I modified config.properties to include ( and previously, custom.properties
> which config includes) to:
>
>
>
That worked a charm! Cheers.
I wonder if we should update
https://karaf.apache.org/manual/latest/provisioning with some mention of
this in the configuration file section, or maybe somewhere under "5.7.4.
Instances and distributions goals” where it talks about the immutable
static mode.
Or
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 a écrit :
> Hrm,
>
> I modified config.properties to include ( and
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”
You are welcome. Just let me know if you need help with that.
Regards
JB
On Thu, Aug 25, 2022 at 9:26 AM Mark Derricutt wrote:
>
> On 25/08/2022 at 7:11:17 PM, Jean-Baptiste Onofré wrote:
>>
>> Hi Mark,
>>
>> Yes, it's possible. You can add a new path in etc/config.properties in
>>
On 25/08/2022 at 7:11:17 PM, Jean-Baptiste Onofré wrote:
> Hi Mark,
>
> Yes, it's possible. You can add a new path in etc/config.properties in
> felix.fileinstall.dir.
>
>
Excellent! That looks like a better solution for what I’m after.
Cheers JB!
--
"Great artists are extremely selfish and
Hi Mark,
Yes, it's possible. You can add a new path in etc/config.properties in
felix.fileinstall.dir.
You can also add your own property (like karaf.etc.my) or use explicit
path in your feature.
Regards
JB
On Thu, Aug 25, 2022 at 8:52 AM Mark Derricutt wrote:
>
> Hey all,
>
> Is it possible
Hey all,
Is it possible to run Karaf with multiple configuration paths?
I’m trying to build up a custom karaf distro to build into a docker image,
and want to keep all our apps service config separate ( to be injected via
a docker volume or something ) whilst maintaining any generated