Skip to content

Instantly share code, notes, and snippets.

@justanwar
Last active September 2, 2019 05:55
Show Gist options
  • Save justanwar/bb67c632a8e1d487597ffc4f3643cc49 to your computer and use it in GitHub Desktop.
Save justanwar/bb67c632a8e1d487597ffc4f3643cc49 to your computer and use it in GitHub Desktop.
Logrotate Zcoin's debug file
# An example of a logrotate file for Zcoin's debug.log
# This assumes that Zcoin data directory is in the default location. Please modify accordingly.
# The file should be created at /etc/logrotate.d/zcoin
/home/username/.zcoin/debug.log {
daily
missingok
rotate 28
compress
copytruncate
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment