Skip to content

Conversation

@rbxbx
Copy link

@rbxbx rbxbx commented Nov 29, 2021

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.

Thoughts?

@mcfiredrill
Copy link
Member

Thanks again for working on this. After we discussed this in the discord a bit, I think we are going to try to go with this approach instead. datafruits/streampusher-api#147

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants