mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
sysutils/monit: small fix by @fbrendel
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user