service jail start foo
will look in /etc/jail.conf and /etc/jail.conf.d/foo.conf for it, but no other files in /etc/jail.conf.d. It's a bummer because I'd like to modular the config by putting a few related jails in one file, which you can only do in /etc/jail.conf.Hi SirDice, I've been looking awhile now and just came across this as I was about to post on the forum.Are your configurations saved as *.conf?
Code:eval _jconfdir=\"/etc/jail.conf.d/${_j}.conf\"
Yes, I've been doing that and it works fine for about 5 or so jails past which that file starts getting cluttered and gets really cumbersome.You can define:
jail_list="jail1 jail2 etc"
in your rc.conf