summaryrefslogtreecommitdiff
path: root/pcr/perspectives-server/perspectives-server.service
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-17 17:32:01 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-17 17:32:01 -0300
commit88e1da204a82b0e8c0fa1a9e42ecd1b86a08eab8 (patch)
tree37421daac725a396555168b30cacc1868b02611e /pcr/perspectives-server/perspectives-server.service
parent308f6ff034c928c0c4fc2ce168df7192ca2b1209 (diff)
parent9e3260441a96b92953b3cfc91cf552f2d5177225 (diff)
Merge branch 'master' of vparabola:abslibre
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
+