I want to install with an RPM.  I've managed to do what I want using some
RPM post-install scripting (using the codehaus RPM maven plugin).
Basically starting a daemon with bin/start and then executing the
wrapper:install command with bin/client.

Are you suggesting doing it with the WrapperService API?
https://github.com/apache/karaf/blob/master/wrapper/src/main/java/org/apache/karaf/wrapper/WrapperService.java

On Mon, May 18, 2015 at 2:41 PM, Jean-Baptiste Onofré <j...@nanthrax.net>
wrote:

> Hi,
>
> you should ask these kind of questions on the karaf mailing list.
>
> Just package your commands in a bundle, then the bundle in a feature, and
> add it in your assembly.
>
> Regards
> JB
>
>
> On 05/18/2015 06:58 PM, Craig Niles wrote:
>
>> Is there a way in which I can create the OS service files (in a similar
>> way
>> to the wrapper:install command) but integrated with the karaf-assembly
>> packaging for the karaf-maven-plugin?
>>
>>
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> For additional commands, e-mail: users-h...@felix.apache.org
>
>

Reply via email to