Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2012 19:44:51 -0600
From:      Jamie Gritton <jamie@FreeBSD.org>
To:        Mr Dandy <oleg.ginzburg@nevosoft.ru>
Cc:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>, freebsd-jail@FreeBSD.org
Subject:   Re: New jail(8) committed
Message-ID:  <4F9DEE93.4000602@FreeBSD.org>
In-Reply-To: <201204300337.08712.subbsd@gmail.com>
References:  <4F99AB0E.4090805@FreeBSD.org>	<8AFDD50D-038D-4D71-A67A-7D9BE629DAFA@lists.zabbadoz.net> <201204300337.08712.subbsd@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/29/12 17:37, Mr Dandy wrote:
> Looks like the new functionality lost abilities of old /etc/rc.d/jail to carry
> out multiple quantity of prestart/stop instruction
>
> Old cool feature:
> jail_example_exec_afterstart0=""
> jail_example_exec_afterstart1=""
> ..
>
> In new style it doesn't work:
> exec.start0 = '/bin/date';
> exec.start1 = '/bin/date';
> ..

I'll need to make sure I have the documentation in order for this.  You 
can have:

exec.start = '/bin/foo';
exec.start += '/bin/bar';

> also it would be great to have "include<config>" for some other places
> (/etc/jail.d for example) that it was possible to have one config per jail.

Yes it would.  This is one of the things on my to-do list.

- Jamie



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F9DEE93.4000602>