summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2017-08-28 21:01:49 -0300
committerdrebs <drebs@riseup.net>2017-09-05 11:08:47 -0300
commit508fa68d7a2a7d7ef68a39df33b4c57e2260dfe6 (patch)
tree5ed0b0c487d93c9318351e66d60d84e559271e4b /pkg
parent75a1e40517329c3f460431ead2d67fd9cf7732dc (diff)
[bug] check for conflicting ports + systemd fixes
-- Related: #8867
Diffstat (limited to 'pkg')
-rw-r--r--pkg/server/soledad-server.service4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/server/soledad-server.service b/pkg/server/soledad-server.service
index bf92dd18..73cc5920 100644
--- a/pkg/server/soledad-server.service
+++ b/pkg/server/soledad-server.service
@@ -3,8 +3,9 @@ Description=Soledad Server
[Service]
Environment=PATH=/sbin:/bin:/usr/sbin:/usr/bin
-Environment=TAC=usr/lib/python2.7/dist-packages/leap/soledad/server/server.tac
+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
Environment=PRIVKEY_PATH=/etc/soledad/soledad-server.key
Environment=HOME=/var/lib/soledad/
@@ -16,6 +17,7 @@ ExecStart=/usr/bin/twistd \
--pidfile= \
--syslog \
--prefix=soledad-server \
+ --python \
${TAC}
WorkingDirectory=/var/lib/soledad/