Merge "Add reload support to init file"
This commit is contained in:
commit
e57d13f6a1
@ -15,6 +15,9 @@ ExecStart={{ program_override }} {{ program_config_options|default('') }} --log-
|
|||||||
{% else %}
|
{% else %}
|
||||||
ExecStart={{ cinder_bin }}/{{ item.service_name }} {{ program_config_options|default('') }} --log-file=/var/log/cinder/{{ item.service_name }}.log
|
ExecStart={{ cinder_bin }}/{{ item.service_name }} {{ program_config_options|default('') }} --log-file=/var/log/cinder/{{ item.service_name }}.log
|
||||||
{% endif %}
|
{% 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
|
# Give a reasonable amount of time for the server to start up/shut down
|
||||||
TimeoutSec=120
|
TimeoutSec=120
|
||||||
|
Loading…
x
Reference in New Issue
Block a user