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
parent
d5c2c1d81e
commit
1b799271ab
|
@ -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
|
||||
}
|
||||
|
|
|
@ -17,4 +17,5 @@ compress
|
|||
{
|
||||
rotate 5
|
||||
size 100k
|
||||
missingok
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue