summaryrefslogtreecommitdiffstats
path: root/repoman
diff options
context:
space:
mode:
authorantoniodoblas <adv@uma.es>2021-02-09 15:49:29 +0100
committerantoniodoblas <adv@uma.es>2021-02-09 15:55:23 +0100
commit724b946f7a620d7b53c59025d7ba8e2d0a066c20 (patch)
tree55641a86910a2f8f9553dac354906bfa15362ab0 /repoman
parentfd1de7940cbbca93f09850a5c581c73a369270d8 (diff)
#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.
Diffstat (limited to 'repoman')
-rw-r--r--repoman/etc/logrotate.tmpl2
1 files changed, 1 insertions, 1 deletions
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
}