2025-03-05 14:28:19 +01:00

23 lines
415 B
Desktop File

[Unit]
Description=NetBox WSGI Service
Documentation=https://docs.netbox.dev/
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=netbox
Group=netbox
PIDFile=/var/run/netbox.pid
WorkingDirectory=/etc/netbox
ExecStart=/bin/bash -c '$$(ls -1 /usr/bin/uwsgi_python*) --ini /etc/netbox/uwsgi.ini'
Restart=on-failure
RestartSec=30
PrivateTmp=true
[Install]
WantedBy=multi-user.target