matterbridge: restart on changes
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful
Matterbridge does detect file changes, but seems to only apply them on a service restart. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
82e8ce4eb2
commit
b446afcc49
@ -34,6 +34,8 @@ matterbridge_files:
|
||||
general: {{ instances[instance]['general'] | default({}) }}
|
||||
accounts: {{ instances[instance]['accounts'] }}
|
||||
gateways: {{ instances[instance]['gateways'] }}
|
||||
- watch_in:
|
||||
- service: matterbridge_{{ instance }}_service
|
||||
{%- endfor %}
|
||||
|
||||
{%- for instance in instances %}
|
||||
@ -52,6 +54,8 @@ matterbridge_{{ instance }}_service:
|
||||
service.running:
|
||||
- name: matterbridge@{{ instance }}.service
|
||||
- enable: True
|
||||
- watch:
|
||||
- file: /etc/matterbridge/{{ instance }}.toml
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user