Fixes for logrotate

This commit is contained in:
Deon George 2019-08-15 08:58:32 +10:00
parent 5dcdfd0705
commit 0689ba85c2
2 changed files with 2 additions and 1 deletions

View File

@ -55,6 +55,7 @@ VOLUME [ "/var/lib/zerotier-one" ]
VOLUME [ "/opt/sbbs/data","/opt/sbbs/ctrl","/opt/sbbs/nodes","/opt/sbbs/fido","/opt/sbbs/text" ] VOLUME [ "/opt/sbbs/data","/opt/sbbs/ctrl","/opt/sbbs/nodes","/opt/sbbs/fido","/opt/sbbs/text" ]
COPY logrotate.d /etc/logrotate.d/ COPY logrotate.d /etc/logrotate.d/
RUN chmod 644 /etc/logrotate.d/*
COPY supervisord.d /etc/supervisor/conf.d/ COPY supervisord.d /etc/supervisor/conf.d/
COPY init /sbin/init COPY init /sbin/init

View File

@ -3,7 +3,7 @@
compress compress
rotate 31 rotate 31
dateext dateext
olddir /opt/sbbs/data/old olddir /opt/sbbs/data/logs/old
missingok missingok
createolddir 775 root root createolddir 775 root root
notifempty notifempty