Skip to content

Instantly share code, notes, and snippets.

@jun06t
Created July 31, 2018 18:15
Show Gist options
  • Save jun06t/a000710addc1dfa0e69c9dcb712e0a95 to your computer and use it in GitHub Desktop.
Save jun06t/a000710addc1dfa0e69c9dcb712e0a95 to your computer and use it in GitHub Desktop.
logrotate definition for vault
/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