Add logrotate config to rpm/deb pkgs

This commit is contained in:
Mike Ellery
2019-06-12 11:39:12 -07:00
committed by Manoj doshi
parent efa926676c
commit 93232ec7df
6 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
/var/log/rippled/*.log {
daily
minsize 200M
rotate 7
nocreate
missingok
notifempty
compress
compresscmd /usr/bin/nice
compressoptions -n19 ionice -c3 gzip
compressext .gz
postrotate
/opt/ripple/bin/rippled --conf /opt/ripple/etc/rippled.cfg logrotate
endscript
}