Hi Stephen,
My example assumes that there are folders (inside of /basedir) on a Docker host machine which are mounted to mailman containers. So we run logrotate on the host machine against those mapped folders. Hence, /etc/logrotate.d/mailman file is for the host machine as well.
Danil
On Fri, Sep 4, 2020 at 12:36 PM <skenny@scss.tcd.ie> wrote:
Hi Danil,
Firstly, thank you so much for your reply, and I do apologize for taking so long to respond to your message.
I understand your approach, and it sounds reliable and sensible. I'm still a bit confused by something though. In your example, you create the file /etc/logrotate.d/mailman - I presume that it must live in, or be available in the container - but which one? You've created a single file, with entries for both the mailman-core and mailman-web logs. But the logs of -core are not available in -web and vice-versa. Did you mean to do separate "cat <<EOF > /etc/logrotate.d/mailman" operations for each container?
Thanks again Stephen
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/