Use 'simple' instead of 'oneshot' (rotate service)
This commit is contained in:
parent
1f6bfeee23
commit
ee041b9ead
1 changed files with 1 additions and 1 deletions
|
@ -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 }} \
|
||||||
|
|
Loading…
Reference in a new issue