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