> It used to restart bundle 0. Not sure why that was changed
>
>
>
> Looks like this was inadvertently changed by https://git.opendaylight.org/
> gerrit/#/c/62451/ - it used to be
>
> bundleContext.getBundle(0).stop();
>
>
>
> If you want to push a
thukumaran K;
controller-dev@lists.opendaylight.org<mailto:controller-dev@lists.opendaylight.org>;
integration-...@lists.opendaylight.org<mailto:integration-...@lists.opendaylight.org>
Subject: Re: [controller-dev] Best way to gracefully shutdown Karaf in ODL
context
Hey Muthu,
Hey Muthu,
Yes, I think you should take a look at the systemd configuration we ship in
ODL's packages. As far as I know it does a good job of
starting/stopping/restarting ODL's service.
https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging.git;a=blob;f=packages/rpm/unitfiles/opendayl
by
https://git.opendaylight.org/gerrit/#/c/62451/ - it used to be
bundleContext.getBundle(0).stop();
If you want to push a patch to fix it, I'll merge it.
>
>
>>
>> Regards
>>
>> Muthu
>>
>>
>>
>>
>>
>>
>>
>
> Muthu
>
>
>
>
>
>
>
> *From:* Daniel Farrell [mailto:dfarr...@redhat.com]
> *Sent:* Friday, October 13, 2017 6:19 AM
> *To:* Jamo Luhrsen; Muthukumaran K; controller-dev@lists.opendaylight.org;
> integration-...@lists.opendaylight.org
> *Subject:* Re: [contro
13, 2017 6:19 AM
To: Jamo Luhrsen; Muthukumaran K; controller-dev@lists.opendaylight.org;
integration-...@lists.opendaylight.org
Subject: Re: [controller-dev] Best way to gracefully shutdown Karaf in ODL
context
Hey Muthu,
Yes, I think you should take a look at the systemd configuration we ship
+Daniel and Integration-dev,
Daniel,
does our rpm package and the systemd work you did for it answer any of Muthu's
questions below? I'm assuming it *IS* the answer, but you will know better.
Thanks,
JamO
On 10/12/2017 04:56 AM, Muthukumaran K wrote:
> Hi,
>
> * *
>
> *Context* : Figuring out
Hi,
Context : Figuring out the best possible way to gracefully shutdown Karaf
process using standard Karaf commands.
This would be required because framework-level shutdown-sequence in Karaf would
give opportunity framework to properly execute bundle lifecycle listeners. What
I mean is - abr