ansible/roles/rsyslog_collector/templates/rotate-remote-logs.service.j2

13 lines
312 B
Django/Jinja

{{ ansible_managed | comment }}
[Unit]
Description=Rotate remote logs
[Service]
User=root
Type=simple
ExecStart={{ rsyslog_collector_rotate_path }} \
--base-dir {{ rsyslog_collector_base_dir }} \
--compress-days {{ rsyslog_collector_compress_days }} \
--keep-days {{ rsyslog_collector_keep_days }}