summaryrefslogtreecommitdiff
path: root/pkg/server/soledad-server.service
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/server/soledad-server.service')
-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/