From c33111a9fb07a58b107bc6ca700b8b6aa86178ff Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Tue, 22 Jun 2021 19:05:22 +0200 Subject: [PATCH] netbox: fix paths in netbox-rq service file --- roles/netbox/templates/netbox-rq.service.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/netbox/templates/netbox-rq.service.j2 b/roles/netbox/templates/netbox-rq.service.j2 index c4856b6..b35a7f5 100644 --- a/roles/netbox/templates/netbox-rq.service.j2 +++ b/roles/netbox/templates/netbox-rq.service.j2 @@ -9,9 +9,9 @@ Type=simple User=netbox Group=netbox -WorkingDirectory=/opt/netbox-2.10.1 +WorkingDirectory=/opt/netbox-{{ netbox_version }} -ExecStart=/opt/netbox-2.10.1/venv/bin/python3 /opt/netbox-2.10.1/netbox/manage.py rqworker +ExecStart=/opt/netbox-{{ netbox_version }}/venv/bin/python3 /opt/netbox-{{ netbox_version }}/netbox/manage.py rqworker Restart=on-failure RestartSec=30