summarylogtreecommitdiffstats
path: root/netbox-rq.service
diff options
context:
space:
mode:
authorRoshless2021-04-18 01:43:20 +0200
committerRoshless2021-04-18 01:43:20 +0200
commitd3951056071ab26de44bfa62b7f08964daf3b47d (patch)
tree6ce1ae97cc17cf6a64ae7030a4c4642eda86cc91 /netbox-rq.service
parente0ee3c3ac9c565c949af37704fbac2a635eb4f45 (diff)
downloadaur-d3951056071ab26de44bfa62b7f08964daf3b47d.tar.gz
upgpkg: netbox 2.11.0-1
revamp and do upstream release
Diffstat (limited to 'netbox-rq.service')
-rw-r--r--netbox-rq.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/netbox-rq.service b/netbox-rq.service
new file mode 100644
index 000000000000..ed4e27836de9
--- /dev/null
+++ b/netbox-rq.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=netbox request queue worker
+After=network-online.target
+Wants=network-online.target
+
+[Service]
+Type=simple
+User=netbox
+WorkingDirectory=/var/lib/netbox
+ExecStart=/usr/bin/python /var/lib/netbox/manage.py rqworker
+#PrivateTmp=true
+
+[Install]
+WantedBy=multi-user.target