You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by CodeCola <pr...@rogers.com> on 2016/12/13 01:59:48 UTC
Exit a child instance without stopping it
I am in
karaf@Container2>
How do I exit the Container to return to the
karaf@root>
without stopping the Container2 ?
I don't see an *instance:exit* command ?
--
View this message in context: http://karaf.922171.n3.nabble.com/Exit-a-child-instance-without-stopping-it-tp4048991.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Exit a child instance without stopping it
Posted by Achim Nierbeck <bc...@googlemail.com>.
Usually the child instances spawn their own process. So you connect to it
via SSH, therefore just disconnect via Ctrl-D as from any other remote
shell.
Regards, Achim
sent from mobile device
Am 13.12.2016 2:59 vorm. schrieb "CodeCola" <pr...@rogers.com>:
> I am in
>
> karaf@Container2>
>
> How do I exit the Container to return to the
>
> karaf@root>
>
> without stopping the Container2 ?
>
> I don't see an *instance:exit* command ?
>
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.
> com/Exit-a-child-instance-without-stopping-it-tp4048991.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
Re: Exit a child instance without stopping it
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,
If you connect using instance:connect (which is basically ssh), and then
CTRL-D or exit (not shutdown or halt), then the instance is still running.
You can control instance "outside" of the root one using bin/instance
script.
Regards
JB
On 12/13/2016 02:59 AM, CodeCola wrote:
> I am in
>
> karaf@Container2>
>
> How do I exit the Container to return to the
>
> karaf@root>
>
> without stopping the Container2 ?
>
> I don't see an *instance:exit* command ?
>
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Exit-a-child-instance-without-stopping-it-tp4048991.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