Use 'simple' instead of 'oneshot' (rotate service)

This commit is contained in:
jeltz 2021-03-02 00:14:25 +01:00
parent 1f6bfeee23
commit ee041b9ead

View file

@ -5,7 +5,7 @@ Description=Rotate remote logs
[Service] [Service]
User=root User=root
Type=oneshot Type=simple
ExecStart={{ rsyslog_collector_rotate_path }} \ ExecStart={{ rsyslog_collector_rotate_path }} \
--base-dir {{ rsyslog_collector_base_dir }} \ --base-dir {{ rsyslog_collector_base_dir }} \
--compress-days {{ rsyslog_collector_compress_days }} \ --compress-days {{ rsyslog_collector_compress_days }} \