summarylogtreecommitdiffstats
path: root/virtlyst.service
diff options
context:
space:
mode:
Diffstat (limited to 'virtlyst.service')
-rw-r--r--virtlyst.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/virtlyst.service b/virtlyst.service
new file mode 100644
index 000000000000..a224291f76bc
--- /dev/null
+++ b/virtlyst.service
@@ -0,0 +1,14 @@
+[Unit]
+After=network.target libvirtd.service
+Description=Web interface to manage virtual machines with libvirt
+
+[Service]
+Type=simple
+DynamicUser=yes
+SupplementaryGroups=libvirt
+Restart=always
+ExecStart=/usr/bin/cutelyst-wsgi2 --ini /etc/uwsgi/virtlyst.ini
+StateDirectory=virtlyst
+
+[Install]
+WantedBy=multi-user.target