Hi Andre,

The reason is because the format is not the same: service wrapper uses tanuki 
wrapper (old version due to license contraint).

The Karaf-service is supposed to only launch wrapper, and wrapper using the 
Karaf-wrapper.conf where you define the config.
As the Karaf-service is executed at system level, it should be pretty simple 
and not load any env variable (it should be done in the wrapper).

So, to simplify:
- setenv is for scripting like karaf, client, etc, but not wrapper
- karaf-wrapper.conf is for wrapper

Regards
JB

> Le 27 avr. 2021 à 09:41, Andre Schlegel-Tylla 
> <andre.schlegel-ty...@virtimo.de> a écrit :
> 
> Hello,
> 
> is there a reason why the generated karaf-service file (service-wrapper
> feature) don't load the setenv file?
> 
> We have a prepared setenv file for our needs. But when we want to use the
> wrapper we have to manually fix the karaf-service file.
> 
> Regards
> Andre

Reply via email to