diff --git a/Dockerfile b/Dockerfile index 50440d2..7e71dd8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,6 +63,7 @@ VOLUME [ "/var/lib/zerotier-one" ] VOLUME [ "/opt/sbbs/data","/opt/sbbs/ctrl","/opt/sbbs/nodes","/opt/sbbs/fido","/opt/sbbs/text" ] COPY logrotate.d /etc/logrotate.d/ +RUN chmod 644 /etc/logrotate.d/* COPY supervisord.d /etc/supervisor/conf.d/ COPY init /sbin/init diff --git a/logrotate.d/sbbsecho b/logrotate.d/sbbsecho index 3c59bf5..e3d3c99 100644 --- a/logrotate.d/sbbsecho +++ b/logrotate.d/sbbsecho @@ -3,7 +3,7 @@ compress rotate 31 dateext - olddir /opt/sbbs/data/old + olddir /opt/sbbs/data/logs/old missingok createolddir 775 root root notifempty