ansible-roles/roles/linstor_controller/templates/linstor-controller-logs-janitor.service.j2

9 lines
169 B
Django/Jinja

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