You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Brian_E <br...@gmail.com> on 2013/12/13 17:33:13 UTC

Starting karaf as a service with clean option

I install karaf as a service, and I notice that several karaf-specific
parameters are supported in the wrapper:

karaf.home
karaf.data
karaf.startLocalConsole

My questions are:

1. Where are these documented?
2. Is there a parameter to start karaf with the clean option each time?

Or, is there a better way to do this? I do NOT want users to have to
specifically specify 'clean' when they issue the service start command; I
want it to be automatic/hidden.

Thanks



--
View this message in context: http://karaf.922171.n3.nabble.com/Starting-karaf-as-a-service-with-clean-option-tp4030661.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Starting karaf as a service with clean option

Posted by Brian_E <br...@gmail.com>.
JB, thanks for the quick post. But how/where do I use the 'clean-all'
argument? What can I put in my xxx-wrapper.conf file to force this to occur?



--
View this message in context: http://karaf.922171.n3.nabble.com/Starting-karaf-as-a-service-with-clean-option-tp4030661p4030664.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Starting karaf as a service with clean option

Posted by Achim Nierbeck <bc...@googlemail.com>.
Though beware those clean calls will clean everything, also features and
bundles installed through the console. It'll reset to "factory settings"

Regards, achim

sent from mobile device
Am 13.12.2013 17:36 schrieb "Jean-Baptiste Onofré" <jb...@nanthrax.net>:

> Hi Brian,
>
> The new documentation (coming with Kaaf 3.0.0) will explain the different
> variables in the "Start, Stop, Restart" section.
>
> Especially the introduction of KARAF_ETC, etc.
>
> To start in clean state, you can remove the data folder or use the
> clean-all argument.
>
> Regards
> JB
>
> On 12/13/2013 05:33 PM, Brian_E wrote:
>
>> I install karaf as a service, and I notice that several karaf-specific
>> parameters are supported in the wrapper:
>>
>> karaf.home
>> karaf.data
>> karaf.startLocalConsole
>>
>> My questions are:
>>
>> 1. Where are these documented?
>> 2. Is there a parameter to start karaf with the clean option each time?
>>
>> Or, is there a better way to do this? I do NOT want users to have to
>> specifically specify 'clean' when they issue the service start command; I
>> want it to be automatic/hidden.
>>
>> Thanks
>>
>>
>>
>> --
>> View this message in context: http://karaf.922171.n3.nabble.
>> com/Starting-karaf-as-a-service-with-clean-option-tp4030661.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Re: Starting karaf as a service with clean option

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Brian,

The new documentation (coming with Kaaf 3.0.0) will explain the 
different variables in the "Start, Stop, Restart" section.

Especially the introduction of KARAF_ETC, etc.

To start in clean state, you can remove the data folder or use the 
clean-all argument.

Regards
JB

On 12/13/2013 05:33 PM, Brian_E wrote:
> I install karaf as a service, and I notice that several karaf-specific
> parameters are supported in the wrapper:
>
> karaf.home
> karaf.data
> karaf.startLocalConsole
>
> My questions are:
>
> 1. Where are these documented?
> 2. Is there a parameter to start karaf with the clean option each time?
>
> Or, is there a better way to do this? I do NOT want users to have to
> specifically specify 'clean' when they issue the service start command; I
> want it to be automatic/hidden.
>
> Thanks
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Starting-karaf-as-a-service-with-clean-option-tp4030661.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com