[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ezjail] Patching jails to make periodic scripts log to files

On 2007/8/22, Dirk Engling <erdgeist AT erdgeist DOT org> wrote:

for a in ${ezjail_jaildir}/*/etc/periodic.conf; do cat
${PREFIX}/share/examples/ezjail/etc/periodic.conf >> $a; done

Thanks Dirk

Maybe a subdir is missing in the line above?

$ pkg_info -Lx ezjail | grep periodic

If that's the case, it would become:

for a in ${ezjail_jaildir}/*/etc
/periodic.conf; do cat
${PREFIX}share/examples/ezjail/default/etc/periodic.conf >> $a; done