summarylogtreecommitdiffstats
path: root/bitcoin.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'bitcoin.logrotate')
-rw-r--r--bitcoin.logrotate11
1 files changed, 11 insertions, 0 deletions
diff --git a/bitcoin.logrotate b/bitcoin.logrotate
new file mode 100644
index 000000000000..fe13fb2e7049
--- /dev/null
+++ b/bitcoin.logrotate
@@ -0,0 +1,11 @@
+/srv/bitcoin/debug.log
+{
+ rotate 5
+ copytruncate
+ daily
+ missingok
+ notifempty
+ compress
+ delaycompress
+ sharedscripts
+}