diff --git a/templates/cinder-systemd-init.j2 b/templates/cinder-systemd-init.j2 index 72395822..9a044faf 100644 --- a/templates/cinder-systemd-init.j2 +++ b/templates/cinder-systemd-init.j2 @@ -15,6 +15,9 @@ ExecStart={{ program_override }} {{ program_config_options|default('') }} --log- {% else %} ExecStart={{ cinder_bin }}/{{ item.service_name }} {{ program_config_options|default('') }} --log-file=/var/log/cinder/{{ item.service_name }}.log {% endif %} +{% if item.service_name != "cinder-api" %} +ExecReload=/bin/kill -HUP $MAINPID +{% endif %} # Give a reasonable amount of time for the server to start up/shut down TimeoutSec=120