Skip to content

Instantly share code, notes, and snippets.

@ricsiga
Created July 7, 2016 13:24
Show Gist options
  • Save ricsiga/d06719eea77aa796f45e83fe846424cc to your computer and use it in GitHub Desktop.
Save ricsiga/d06719eea77aa796f45e83fe846424cc to your computer and use it in GitHub Desktop.
logrotate for turnserver
# /etc/logrotate.d/turnserver
/var/log/turnserver.log {
daily
rotate 14
compress
missingok
notifempty
create 644 root root
su root root
postrotate
pkill -HUP turnserver
endscript
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment