aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/bitcoin-qt/files/bitcoind.logrotate')
-rw-r--r--net-p2p/bitcoin-qt/files/bitcoind.logrotate7
1 files changed, 7 insertions, 0 deletions
diff --git a/net-p2p/bitcoin-qt/files/bitcoind.logrotate b/net-p2p/bitcoin-qt/files/bitcoind.logrotate
new file mode 100644
index 0000000..36d8dc2
--- /dev/null
+++ b/net-p2p/bitcoin-qt/files/bitcoind.logrotate
@@ -0,0 +1,7 @@
+/var/lib/bitcoin/.bitcoin/debug.log {
+ weekly
+ sharedscripts
+ postrotate
+ killall -HUP bitcoind
+ endscript
+}