forked from FF-RGB/ansible
netbox: fix paths in netbox-rq service file
This commit is contained in:
parent
9a153e9644
commit
c33111a9fb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user