summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-11-08 16:09:03 -0200
committerdrebs <drebs@riseup.net>2017-11-14 08:05:48 -0200
commit76993d0add8c9786b29889d190c6bc46532262fd (patch)
tree6c6fba566e96a93797e76c185fc0a47a63c7851f /pkg
parent6d26619473c01f3c855319a8d7f0cbf1e657ab30 (diff)
[pkg] add binary command for soledad-server
Diffstat (limited to 'pkg')
-rw-r--r--pkg/server/soledad-server.service9
1 files changed, 1 insertions, 8 deletions
diff --git a/pkg/server/soledad-server.service b/pkg/server/soledad-server.service
index 0e17f245..c3331dfd 100644
--- a/pkg/server/soledad-server.service
+++ b/pkg/server/soledad-server.service
@@ -3,8 +3,6 @@ Description=Soledad Server
[Service]
Environment=PATH=/sbin:/bin:/usr/sbin:/usr/bin
-# TODO: Change this dist-packages path as it's Debian specific
-Environment=TAC=/usr/lib/python2.7/dist-packages/leap/soledad/server/server.tac
Environment=HTTPS_PORT=2424
Environment=LOCAL_SERVICES_PORT=2525
Environment=CERT_PATH=/etc/soledad/soledad-server.pem
@@ -13,12 +11,7 @@ Environment=HOME=/var/lib/soledad/
Environment=SSL_METHOD=SSLv23_METHOD
EnvironmentFile=-/etc/default/soledad
-ExecStart=/usr/bin/twistd \
- --nodaemon \
- --pidfile= \
- --syslog \
- --prefix=soledad-server \
- --python=${TAC}
+ExecStart=/usr/bin/soledad-server
WorkingDirectory=/var/lib/soledad/