Hi Cooshal,

There's simply way to install the wrapper without starting the instance.
You just have to do:

bin/shell wrapper:install

Regards
JB

On 16/05/2019 14:54, cooshal wrote:
> Hi:
> 
> I am trying to provision karaf instances, and for that I have installed
> service wrapper. For that, currently I have to start the karaf instance and
> manually install service wrapper and quit and again start the karaf instance
> as a service. [My use case is with Windows]
> 
> I was wondering if there is a way to execute these steps via some script. 
> For instance, may be using some batch script, I wanted to be able to execute
> "create-karaf-note.bat", which unzips my custom karaf distribution (this is
> done via powershell), alter some configs (again via powershell), start karaf
> (*), execute wrapper:install ... (*), and exit. That way, I have a
> ready-to-run karaf instance.
> 
> I am confused about the tasks that I have marked in (*). Any tips on this
> would be helpful.
> 
> Regards,
> Cooshal.
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to