Fixes for logrotate
This commit is contained in:
parent
28a1cc2aa8
commit
6c9dfc37dc
@ -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" ]
|
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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user