summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpaul.wilk2018-03-06 17:07:47 +0000
committerpaul.wilk2018-03-06 17:07:47 +0000
commitc1119ce79546d55398c918eb92ba0ee11eb45654 (patch)
tree9b15bf9ca1183e516103bdf874c9844f6e60ca9d
parent8d7d79e8bacfc70d6ebbadff110364052cf423e3 (diff)
downloadaur-c1119ce79546d55398c918eb92ba0ee11eb45654.tar.gz
Updated with missing files
-rw-r--r--webvirtmgr.ini.save8
-rw-r--r--webvirtmgr.service15
2 files changed, 23 insertions, 0 deletions
diff --git a/webvirtmgr.ini.save b/webvirtmgr.ini.save
new file mode 100644
index 000000000000..413e074a1eb5
--- /dev/null
+++ b/webvirtmgr.ini.save
@@ -0,0 +1,8 @@
+[program:webvirtmgr]
+command=/usr/bin/python2 /usr/lib/webvirtmgr/manage.py run_gunicorn -c /usr/lib/webvirtmgr/conf/gunicorn.conf.py
+directory=/usr/lib/webvirtmgr
+autostart=true
+autorestart=true
+stdout_logfile=/var/log/supervisor/webvirtmgr.log
+redirect_stderr=true
+user=webvirtmgr
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