Incorrect setup of Systemd restart value (#375)
This commit is contained in:
parent
f1acd94bb6
commit
f4c0829b42
@ -16,6 +16,7 @@ ENHANCEMENTS:
|
||||
* Minor GitHub template tweaks, including the creation of a SECURITY doc.
|
||||
* Update list of supported platforms.
|
||||
* Update Ansible base to `2.10.5`, Molecule to `3.2.3`, yamllint to `1.26.0` and Docker Python SDK to `4.4.4`.
|
||||
* Override of systemd `Restart` value by using proper `nginx_service_restart` variable.
|
||||
|
||||
BUG FIXES:
|
||||
|
||||
|
@ -5,6 +5,9 @@ TimeoutStopSec={{ nginx_service_timeoutstopsec | default(90) }}
|
||||
{% if nginx_service_restartonfailure is defined %}
|
||||
Restart=on-failure
|
||||
{% endif %}
|
||||
{% if nginx_service_restart is defined %}
|
||||
Restart={{ nginx_service_restart }}
|
||||
{% endif %}
|
||||
{% if nginx_service_restartsec is defined %}
|
||||
RestartSec={{ nginx_service_restartsec }}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user