Not 100% sure this is correct -- the container builds and ssh'ing in and running
$ logrotate -d /etc/logrotate.d/icecast.conf
reading config file /etc/logrotate.d/icecast.conf
Handling 1 logs
rotating pattern: /usr/local/share/icecast/logs/*.log 52428800 bytes (4 rotations)
empty log files are not rotated, old logs are removed
considering log /usr/local/share/icecast/logs/access.log
log does not need rotating
considering log /usr/local/share/icecast/logs/error.log
log does not need rotating
not running postrotate script, since no logs were rotated
appears that there at least aren't syntax errors -- not 100% sure the postrotate call is correct. Per the icecast docs
Note that on non-win32 platforms, a HUP signal can be sent to Icecast in which the log files are re-opened for appending giving the ability move/remove the log files.
Not 100% sure this is correct -- the container builds and ssh'ing in and running
appears that there at least aren't syntax errors -- not 100% sure the postrotate call is correct. Per the icecast docs
Thoughts?