netbox: fix paths in netbox-rq service file

This commit is contained in:
Markus 2021-06-22 19:05:22 +02:00
parent 9a153e9644
commit c33111a9fb

View File

@ -9,9 +9,9 @@ Type=simple
User=netbox User=netbox
Group=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 Restart=on-failure
RestartSec=30 RestartSec=30