From 3bc22cee0334f5d812aeb4b04ddeaad65a6a952f Mon Sep 17 00:00:00 2001 From: Gavin Norman Date: Tue, 25 Sep 2018 13:41:08 +0200 Subject: [PATCH] Replace `notifemtpy` -> `ifempty` in logrotate config `notifempty` causes rotated files (e.g. `some.log.1`) to not be further rotated. Fixes #164. --- deploy/logrotate/dhtdump-logs | 2 +- deploy/logrotate/dhtnode-logs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/logrotate/dhtdump-logs b/deploy/logrotate/dhtdump-logs index 3b699ed..2cd35dc 100644 --- a/deploy/logrotate/dhtdump-logs +++ b/deploy/logrotate/dhtdump-logs @@ -13,7 +13,7 @@ maxage 60 missingok - notifempty + ifempty delaycompress compress maxsize 500M diff --git a/deploy/logrotate/dhtnode-logs b/deploy/logrotate/dhtnode-logs index 1c0f8da..b8e5821 100644 --- a/deploy/logrotate/dhtnode-logs +++ b/deploy/logrotate/dhtnode-logs @@ -13,7 +13,7 @@ maxage 60 missingok - notifempty + ifempty delaycompress compress maxsize 500M