From 724b946f7a620d7b53c59025d7ba8e2d0a066c20 Mon Sep 17 00:00:00 2001 From: antoniodoblas Date: Tue, 9 Feb 2021 15:49:29 +0100 Subject: #1020 logrotate ignore non-existent logs with missingok If the logrotate files for opengnsys indicate to rotate files that do not exist, the process ignores them and continues with the next one. The missingok clause is added to the logrotate configuration files. --- repoman/etc/logrotate.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'repoman/etc') diff --git a/repoman/etc/logrotate.tmpl b/repoman/etc/logrotate.tmpl index 62cdbaf0..01392cd5 100644 --- a/repoman/etc/logrotate.tmpl +++ b/repoman/etc/logrotate.tmpl @@ -15,8 +15,8 @@ endscript /opt/opengnsys/log/bttrack.log /opt/opengnsys/log/torrent-creator.log /opt/opengnsys/log/ogAdmRepo.log -/opt/opengnsys/log/opengnsys.log { rotate 5 size 100k + missingok } -- cgit v1.2.3-18-g5258