This unit is provided by:
Options
-
[Install]
-
WantedBy=multi-user.target
-
-
[Service]
-
Environment=prometheus_multiproc_dir=/run/netbox
-
ExecReload=/bin/kill -s HUP $MAINPID
-
ExecStart=/usr/bin/gunicorn --config /etc/netbox/gunicorn_config.py netbox.wsgi
-
ExecStart=/usr/bin/gunicorn netbox.wsgi --bind [::1]:8001 --pythonpath /usr/opt/netbox/netbox
-
ExecStartPre=/usr/bin/netbox-pre-start
-
ExecStartPre=/usr/share/netbox/manage.py collectstatic --no-input --clear --link
-
Group=netbox
-
KillMode=mixed
-
LockPersonality
Introduced in systemd 235=yes -
PrivateMounts=yes
-
PrivateTmp=yes
-
PrivateUsers=yes
-
ProtectHostname
Introduced in systemd 242=yes -
ProtectKernelLogs
Introduced in systemd 244=yes -
ProtectKernelModules
Introduced in systemd 232=yes -
Restart=on-failure
-
RestrictRealtime
Introduced in systemd 231=yes -
RuntimeDirectory=netbox
-
StateDirectory=netbox
-
StateDirectoryMode=0750
-
TimeoutStopSec
Introduced in systemd 188=5 -
Type=notify
-
User=netbox
-
WorkingDirectory=/usr/share/netbox
-
WorkingDirectory=/var/lib/netbox
-
-
[Unit]
-
After=netbox-migration.service
-
After=network.target
-
Description=NetBox WSGI Service
-
Documentation=https://netbox.readthedocs.io/
-
Additionnal notes
Nothing here.