add 13 lesson lab
This commit is contained in:
@@ -516,6 +516,9 @@ include /etc/logrotate.d
|
||||
```
|
||||
*на основе настроек в `/etc/logrotate.conf` и `/etc/logrotate.d/samba` создадим новый конфиг для архивации логов error*
|
||||
```bash
|
||||
sudo vi /etc/logrotate.d/error
|
||||
```
|
||||
```bash
|
||||
/var/log/error {
|
||||
montly
|
||||
rotate 12
|
||||
|
||||
Reference in New Issue
Block a user