Date: Fri, 24 Oct 2014 16:35:22 +0300 From: Richard Manyanza <1.liseki@gmail.com> To: Kurt Jaeger <lists@opsec.eu> Cc: freebsd-jail@freebsd.org Subject: Re: ttys in jail Message-ID: <CALqRJv=6_Ad6tXijaJYBsHHe=qdT_dGddtUFgo6ZKT9VcxMsqQ@mail.gmail.com> In-Reply-To: <20141024133055.GE66862@home.opsec.eu> References: <CALqRJvnjFj7cz_Ve5gn3Qnpw6v=7YRUskuZm7nuciAYirO84pg@mail.gmail.com> <20141024133055.GE66862@home.opsec.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the clarification Kurt! And for the pointing out daemontools. I have actually just started setting up /usr/ports/sysutils/runit. I guess I was playing around with the poor man's version. On Fri, Oct 24, 2014 at 4:30 PM, Kurt Jaeger <lists@opsec.eu> wrote: > Hi! > > > In a non-jail FreeBSD instance I have a service I want supervised as an > > entry in /etc/ttys so whenever it dies it gets restarted. > > This is a feature of the init process (man init). > > In a jail you do not have an proper 'init' process, so this will not work. > > > I am trying to do > > the same in a jail but after adding an entry to /etc/ttys and running > init > > q, the service is not picked up. > > > > I am naive on the implementation details of jails but is what I am trying > > to do possible? If so is it then a matter of appropriate settings? > > It needs a different approach, for example have a look at > > /usr/ports/sysutils/daemontools > > -- > pi@opsec.eu +49 171 3101372 6 years to > go ! >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALqRJv=6_Ad6tXijaJYBsHHe=qdT_dGddtUFgo6ZKT9VcxMsqQ>