This commit is contained in:
phil 2023-03-01 11:35:03 +01:00
parent 9b8494b33b
commit dd8f45246f
4 changed files with 29 additions and 12 deletions

View file

@ -11,7 +11,7 @@ RestartSec=2s
Type=simple
User={{ diun_user }}
Group={{ diun_user }}
ExecStart={{ diun_binary_path }}/diun serve --config {{ duin_configuration_path }}/{{ duin_configuration_file }} --log-level info
ExecStart={{ diun_binary_path }}/diun serve --config {{ diun_configuration_path }}/{{ diun_configuration_file }} --log-level info
Restart=always
Environment=DIUN_DB_PATH={{ diun_home }}/diun.db

View file

@ -4,15 +4,22 @@ db:
path: {{ diun_home }}/diun.db
{% if diun_watch is defined %}
{{ duin_watch }}
watch:
{{ diun_watch.config | indent(2) }}
{% endif %}
{% if diun_notif is defined %}
notif:
{{ duin_notif | indent(2, false) }}
{% for name in diun_notif %}
{{ name.name }}:
{{ name.config | indent(4) }}
{% endfor %}
{% endif %}
{% if diun_providers is defined %}
providers:
{{ duin_providers | indent(2, false) }}
{% for name in diun_providers %}
{{ name.name }}:
{{ name.config | indent(4) }}
{% endfor %}
{% endif %}