Last active
January 16, 2020 23:07
-
-
Save afquinterog/d0924547993cc2ff7dd5e294b94103ff to your computer and use it in GitHub Desktop.
Vault logrotation configuration
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_audit.log { | |
daily | |
create 0600 vault vault | |
missingok | |
dateext | |
rotate 7 | |
size=10M | |
notifempty | |
postrotate | |
if invoke-rc.d vault status > /dev/null 2>&1; then \ | |
invoke-rc.d vault restart > /dev/null 2>&1; \ | |
fi; | |
endscript | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment