summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosef Hopfgartner2017-09-15 21:34:22 +0200
committerJosef Hopfgartner2017-09-15 21:34:22 +0200
commit78917e35646da08358146ae9daac331c92ffceea (patch)
treee5cf11fdfa1de253b9361e9445671f8c816f42c3
parent7f6a0251212439f80f63bdb6dfe063b093028c9c (diff)
downloadaur-78917e35646da08358146ae9daac331c92ffceea.tar.gz
add systemd service
-rw-r--r--powa-web.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/powa-web.service b/powa-web.service
new file mode 100644
index 000000000000..a94a4e6b498a
--- /dev/null
+++ b/powa-web.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Postgresql Workload Analyser WebInterface
+
+[Service]
+#Environment=PYTHONPATH=/usr/lib/webvirtmgr/lib
+User=postgres
+Group=postgres
+ExecStart=/usr/bin/python /usr/bin/powa-web
+Type=simple
+
+[Install]
+WantedBy=multi-user.target