diff options
author | Victor Shyba <victor1984@riseup.net> | 2017-08-25 05:46:41 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2017-09-05 11:08:47 -0300 |
commit | 75a1e40517329c3f460431ead2d67fd9cf7732dc (patch) | |
tree | 307e4da5d92b19e1fce86e6ee9c1512dd7567eaf | |
parent | 8128fa904da14136874a015ee24e8203df13f00c (diff) |
[pkg] update soledad-server.service to use tac
-- Related: #8867
-rw-r--r-- | pkg/server/soledad-server.service | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkg/server/soledad-server.service b/pkg/server/soledad-server.service index 30c4bf88..bf92dd18 100644 --- a/pkg/server/soledad-server.service +++ b/pkg/server/soledad-server.service @@ -3,7 +3,7 @@ Description=Soledad Server [Service] Environment=PATH=/sbin:/bin:/usr/sbin:/usr/bin -Environment=CLASS=leap.soledad.server.entrypoint.SoledadEntrypoint +Environment=TAC=usr/lib/python2.7/dist-packages/leap/soledad/server/server.tac Environment=HTTPS_PORT=2424 Environment=CERT_PATH=/etc/soledad/soledad-server.pem Environment=PRIVKEY_PATH=/etc/soledad/soledad-server.key @@ -16,9 +16,7 @@ ExecStart=/usr/bin/twistd \ --pidfile= \ --syslog \ --prefix=soledad-server \ - web \ - --class=${CLASS} \ - --port=ssl:${HTTPS_PORT}:privateKey=${PRIVKEY_PATH}:certKey=${CERT_PATH}:sslmethod=${SSL_METHOD} + ${TAC} WorkingDirectory=/var/lib/soledad/ |