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