You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by rcbandit <pe...@gmail.com> on 2015/10/06 20:33:48 UTC

Install Karaf karaf as service

I found this tutorial.

http://www.dropbit.ch/apache-karaf-3-0-1-as-a-daemon/

I'm interested can I somehow automate the commands for creating Karaf
service. I want to install Karaf from RPM package. When the RPM is installed
I want also to start Karaf as background service.



--
View this message in context: http://karaf.922171.n3.nabble.com/Install-Karaf-karaf-as-service-tp4042913.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Re: Install Karaf karaf as service

Posted by rcbandit <pe...@gmail.com>.
Yes I use karaf 4



--
View this message in context: http://karaf.922171.n3.nabble.com/Install-Karaf-karaf-as-service-tp4042913p4042919.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Re: Install Karaf karaf as service

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Depending of the Karaf version you use, wrapper can be installed 
"outside" of Karaf (so basically using just a command). It's the case on 
Karaf 4.

Regards
JB

On 10/06/2015 09:03 PM, rcbandit wrote:
> yes
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Install-Karaf-karaf-as-service-tp4042913p4042917.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>

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

Re: Install Karaf karaf as service

Posted by rcbandit <pe...@gmail.com>.
yes



--
View this message in context: http://karaf.922171.n3.nabble.com/Install-Karaf-karaf-as-service-tp4042913p4042917.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Re: Install Karaf karaf as service

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Which procedure ? The wrapper:install ?

On 10/06/2015 08:58 PM, rcbandit wrote:
> How I can automate this procedure using script?
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Install-Karaf-karaf-as-service-tp4042913p4042915.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>

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

Re: Install Karaf karaf as service

Posted by rcbandit <pe...@gmail.com>.
How I can automate this procedure using script?



--
View this message in context: http://karaf.922171.n3.nabble.com/Install-Karaf-karaf-as-service-tp4042913p4042915.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Re: Install Karaf karaf as service

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

http://karaf.apache.org/manual/latest/users-guide/wrapper.html

Basically, you just have to install the wrapper feature (with 
feature:install) and then wrapper:install.

You will have SystemV, systemd, and Windows service integration 
depending of the running platform.

You can also run Karaf in background using bin/start.

Regards
JB

On 10/06/2015 08:33 PM, rcbandit wrote:
> I found this tutorial.
>
> http://www.dropbit.ch/apache-karaf-3-0-1-as-a-daemon/
>
> I'm interested can I somehow automate the commands for creating Karaf
> service. I want to install Karaf from RPM package. When the RPM is installed
> I want also to start Karaf as background service.
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Install-Karaf-karaf-as-service-tp4042913.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>

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