From 552633a00bc65698a7cafe98ec4dcbc264746f93 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Wed, 24 Aug 2022 08:27:50 +0000 Subject: [PATCH] fix configs --- ansible/roles/trmm_dev/templates/local_settings.j2 | 2 +- ansible/roles/trmm_dev/templates/nats-api.systemd.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/trmm_dev/templates/local_settings.j2 b/ansible/roles/trmm_dev/templates/local_settings.j2 index 18d2c2b2..82c23283 100644 --- a/ansible/roles/trmm_dev/templates/local_settings.j2 +++ b/ansible/roles/trmm_dev/templates/local_settings.j2 @@ -18,4 +18,4 @@ ADMIN_ENABLED = True CERT_FILE = "{{ fullchain_src }}" KEY_FILE = "{{ privkey_src }}" MESH_USERNAME = "{{ mesh_user }}" -MESH_SITE = "{{ mesh }}" +MESH_SITE = "https://{{ mesh }}" diff --git a/ansible/roles/trmm_dev/templates/nats-api.systemd.j2 b/ansible/roles/trmm_dev/templates/nats-api.systemd.j2 index 9daf04fe..461effbe 100644 --- a/ansible/roles/trmm_dev/templates/nats-api.systemd.j2 +++ b/ansible/roles/trmm_dev/templates/nats-api.systemd.j2 @@ -4,7 +4,7 @@ After=nats.service [Service] Type=simple -ExecStart=/usr/local/bin/nats-api +ExecStart=/usr/local/bin/nats-api -config {{ backend_dir }}/api/tacticalrmm/nats-api.conf User={{ user }} Group={{ user }} Restart=always