Fix mutiple restart of rsyslog daemon

Added "sharedscripts" option to avoid multiple restart of rsyslogd.

Change-Id: Ide851397fe089e28792751b5e0bf7c994cef5139
This commit is contained in:
Ravi Kumar Boyapati 2017-03-25 16:36:11 -04:00
parent 3edc8e144f
commit 73e79bcdd7
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@
{% endfor %}
{% endif %}
{% if rsyslog_client_log_rotate_scripts | length > 0 %}
sharedscripts
{% for script in rsyslog_client_log_rotate_scripts %}
{{ script.name }}
{{ script.content | default(rsyslog_client_reload) }}