12 lines
313 B
Django/Jinja
12 lines
313 B
Django/Jinja
{{ ansible_managed | comment }}
|
|
|
|
[Unit]
|
|
Description=Rotate remote logs
|
|
|
|
[Service]
|
|
User=root
|
|
Type=oneshot
|
|
ExecStart={{ rsyslog_collector_rotate_path }} \
|
|
--base-dir {{ rsyslog_collector_base_dir }} \
|
|
--compress-days {{ rsyslog_collector_compress_days }} \
|
|
--keep-days {{ rsyslog_collector_keep_days }}
|