add bundle:netbox

This commit is contained in:
Franzi 2021-08-17 18:02:15 +02:00
parent f077346930
commit b0d2503f08
Signed by: kunsi
GPG key ID: 12E3D2136B818350
8 changed files with 416 additions and 0 deletions

View file

@ -0,0 +1,20 @@
[Unit]
Description=NetBox Request Queue Worker
Documentation=https://netbox.readthedocs.io/en/stable/
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=netbox
Group=netbox
WorkingDirectory=/opt/netbox/src
ExecStart=/opt/netbox/venv/bin/python /opt/netbox/src/netbox/manage.py rqworker
Restart=on-failure
RestartSec=30
PrivateTmp=true
[Install]
WantedBy=multi-user.target