summaryrefslogtreecommitdiffstats
path: root/server
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 /server
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 'server')
-rw-r--r--server/etc/logrotate.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/etc/logrotate.tmpl b/server/etc/logrotate.tmpl
index 233efc57..adfc5047 100644
--- a/server/etc/logrotate.tmpl
+++ b/server/etc/logrotate.tmpl
@@ -17,4 +17,5 @@ compress
{
rotate 5
size 100k
+ missingok
}