summarylogtreecommitdiffstats
path: root/webvirtmgr.service
diff options
context:
space:
mode:
Diffstat (limited to 'webvirtmgr.service')
-rw-r--r--webvirtmgr.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/webvirtmgr.service b/webvirtmgr.service
new file mode 100644
index 000000000000..be7801da9d8f
--- /dev/null
+++ b/webvirtmgr.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=WebVirtMgr
+
+[Service]
+Environment=WEBVIRTMGR_DAEMON=/usr/lib/webvirtmgr
+Environment=WEBVIRTMGR_LOCK_DIR=/var/lock/webvirtmgr
+Environment=WEBVIRTMGR_USER=webvirtmgr
+Environment=WEBVIRTMGR_GROUP=webvirtmgr
+User=webvirtmgr
+Group=webvirtmgr
+ExecStart=/usr/bin/python2 /usr/lib/webvirtmgr/manage.py run_gunicorn -c /usr/lib/webvirtmgr/conf/gunicorn.conf.py
+Type=simple
+
+[Install]
+WantedBy=multi-user.target