Update to 2022-12-14 18:00

This commit is contained in:
Daniel Berteaud
2022-12-14 18:00:12 +01:00
parent 0ab511e3aa
commit 9c4336ba0a
6 changed files with 37 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
[Unit]
Description=Remove old Linstor controllers logs
[Service]
Type=oneshot
PrivateTmp=yes
ExecStart=/sbin/tmpwatch -m 5d /var/log/linstor-controller/
TimeoutSec=30m

View File

@@ -0,0 +1,9 @@
[Unit]
Description=Remove old Linstor controllers logs
[Timer]
OnCalendar=daily
RandomizedDelaySec=5m
[Install]
WantedBy=timers.target

View File

@@ -1,4 +1,4 @@
/var/log/linstor/rest-access.log {
/var/log/linstor-controller/rest-access.log {
daily
rotate 180
compress