Difference between revisions of "Limit the size of .log files & the journal/ru"

Created page with "Приведенный выше скрипт можно использовать как есть - его не нужно делать исполняемым, его прос..."
(Created page with "* '''}''' эта фигурная скобка закрывает блок команд.")
Tags: Mobile web edit Mobile edit
(Created page with "Приведенный выше скрипт можно использовать как есть - его не нужно делать исполняемым, его прос...")
Tags: Mobile web edit Mobile edit
Line 275: Line 275:
   }
   }


The above script can be used as is, it does not need to be made executable, it just needs to be put somewhere that logrotate will see (in this example) every day.
Приведенный выше скрипт можно использовать как есть - его не нужно делать исполняемым, его просто нужно поместить в место, которое logrotate будет видеть (в данном примере) каждый день.


We can use the above script block as a template, easily removing parts & modifying its relatively simple settings. It can be duplicated in a script with each script block specifying custom settings tailored for individual files.
We can use the above script block as a template, easily removing parts & modifying its relatively simple settings. It can be duplicated in a script with each script block specifying custom settings tailored for individual files.
translator
11,433

edits