public-health-ch/ansible/roles/nginxinc.nginx/templates/services/nginx.service.override.conf.j2

11 lines
316 B
Text
Raw Normal View History

2021-02-20 14:00:27 +00:00
[Service]
{% if nginx_service_timeoutstopsec is defined %}
TimeoutStopSec={{ nginx_service_timeoutstopsec | default(90) }}
{% endif %}
{% if nginx_service_restartonfailure is defined %}
Restart=on-failure
{% endif %}
{% if nginx_service_restartsec is defined %}
RestartSec={{ nginx_service_restartsec }}
{% endif %}