2019-09-06 11:46:35 -05:00
|
|
|
[Unit]
|
2019-12-12 14:07:06 -05:00
|
|
|
Description=NetBox Request Queue Worker
|
2022-04-25 09:48:39 -04:00
|
|
|
Documentation=https://docs.netbox.dev/
|
2019-09-06 11:46:35 -05:00
|
|
|
After=network-online.target
|
|
|
|
Wants=network-online.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
|
2020-02-28 16:25:43 -05:00
|
|
|
User=netbox
|
|
|
|
Group=netbox
|
2019-12-12 14:07:06 -05:00
|
|
|
WorkingDirectory=/opt/netbox
|
2019-09-06 11:46:35 -05:00
|
|
|
|
2021-07-09 10:03:51 +02:00
|
|
|
ExecStart=/opt/netbox/venv/bin/python3 /opt/netbox/netbox/manage.py rqworker high default low
|
2019-09-06 11:46:35 -05:00
|
|
|
|
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=30
|
|
|
|
PrivateTmp=true
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|