summaryrefslogtreecommitdiff
path: root/pcr/perspectives-server/perspectives-server.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/perspectives-server/perspectives-server.service')
-rw-r--r--pcr/perspectives-server/perspectives-server.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/pcr/perspectives-server/perspectives-server.service b/pcr/perspectives-server/perspectives-server.service
new file mode 100644
index 000000000..db5ca8808
--- /dev/null
+++ b/pcr/perspectives-server/perspectives-server.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Perspectives notary server
+After=network.target
+
+[Service]
+User=perspectives
+Type=forking
+EnvironmentFile=/etc/conf.d/perspectives-server.conf
+WorkingDirectory=/usr/share/webapps/perspectives-server
+ExecStart=/bin/sh -c "/usr/bin/python2 notary_http.py $FLAGS &"
+
+[Install]
+WantedBy=multi-user.target
+