Created
July 31, 2018 18:15
-
-
Save jun06t/a000710addc1dfa0e69c9dcb712e0a95 to your computer and use it in GitHub Desktop.
logrotate definition for vault
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
/var/log/vault/*.log { | |
daily | |
missingok | |
rotate 52 | |
compress | |
delaycompress | |
notifempty | |
create 644 vault vault | |
sharedscripts | |
postrotate | |
[ -f /var/run/vault/vault.pid ] && kill -HUP `cat /var/run/vault/vault.pid` | |
endscript | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment