Fixes for logrotate

This commit is contained in:
Deon George 2019-08-15 08:58:32 +10:00
parent 28a1cc2aa8
commit 6c9dfc37dc
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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