summaryrefslogtreecommitdiff
path: root/pcr/perspectives-server/perspectives-server.service
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-09 20:11:45 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-09 20:11:45 -0300
commit4be5309ee3989d582faad90f46c934352eff82f0 (patch)
tree83ec48649316520026ea12f46fd7b501ac6bde31 /pcr/perspectives-server/perspectives-server.service
parenta563eee81e9abd42251117d8cd74738e23e0fe70 (diff)
downloadabslibre-4be5309ee3989d582faad90f46c934352eff82f0.tar.gz
abslibre-4be5309ee3989d582faad90f46c934352eff82f0.tar.bz2
abslibre-4be5309ee3989d582faad90f46c934352eff82f0.zip
Perspectives Server
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
+