#1066 #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.
remotes/github/main
Antonio Doblas Viso 2021-02-09 15:49:29 +01:00 committed by Irina Gómez
parent d5c2c1d81e
commit 1b799271ab
2 changed files with 2 additions and 1 deletions

View File

@ -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
}

View File

@ -17,4 +17,5 @@ compress
{
rotate 5
size 100k
missingok
}