ansible-role-nginx/templates/services/nginx.service.override.conf.j2

14 lines
406 B
Plaintext
Raw Permalink Normal View History

[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_restart is defined %}
Restart={{ nginx_service_restart }}
{% endif %}
{% if nginx_service_restartsec is defined %}
RestartSec={{ nginx_service_restartsec }}
{% endif %}