sysutils/monit: small fix by @fbrendel

This commit is contained in:
Franco Fichtner
2017-03-10 08:43:03 +01:00
parent 371b6e4693
commit 0d99ad98bb
@@ -52,7 +52,11 @@ check {{ service.type }} {{ service.name }} {{ address }} {{ interface }}
check {{ service.type }} {{ service.name }}
{% else %}
{% set path = "with path " ~ service.path %}
{% if service.type == 'custom' %}
check program {{ service.name }} {{ path }}
{% else %}
check {{ service.type }} {{ service.name }} {{ path }}
{% endif %}
{% endif %}
{% if service.start|default('') != '' %}
start program = "{{ service.start }}"