diff --git a/roles/rsyslog_collector/templates/rotate-remote-logs.service.j2 b/roles/rsyslog_collector/templates/rotate-remote-logs.service.j2 index 4d8733e..0e75a2b 100644 --- a/roles/rsyslog_collector/templates/rotate-remote-logs.service.j2 +++ b/roles/rsyslog_collector/templates/rotate-remote-logs.service.j2 @@ -5,7 +5,7 @@ Description=Rotate remote logs [Service] User=root -Type=oneshot +Type=simple ExecStart={{ rsyslog_collector_rotate_path }} \ --base-dir {{ rsyslog_collector_base_dir }} \ --compress-days {{ rsyslog_collector_compress_days }} \