Created
July 7, 2016 13:24
-
-
Save ricsiga/d06719eea77aa796f45e83fe846424cc to your computer and use it in GitHub Desktop.
logrotate for turnserver
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /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