summaryrefslogtreecommitdiff
path: root/debian/soledad-server.init
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-07-29 20:51:58 -0400
committerMicah Anderson <micah@riseup.net>2013-07-29 20:51:58 -0400
commitad0e1bb375b4676d0be8325cc66e0015e2b254fa (patch)
treea59829920c9ca8db4bc806b4282499aa266e002c /debian/soledad-server.init
parenta331689bfdb04b09bfce1a82d1f51a54c7a8cb8e (diff)
update to 0.2.3
Diffstat (limited to 'debian/soledad-server.init')
-rw-r--r--debian/soledad-server.init14
1 files changed, 5 insertions, 9 deletions
diff --git a/debian/soledad-server.init b/debian/soledad-server.init
index b1d898cc..d8df7c5d 100644
--- a/debian/soledad-server.init
+++ b/debian/soledad-server.init
@@ -15,7 +15,6 @@ RUNDIR=/var/lib/soledad/
OBJ=leap.soledad_server.application
LOGFILE=/var/log/soledad.log
HTTPS_PORT=2424
-PLAIN_PORT=65534
CERT_PATH=/etc/leap/soledad-server.pem
PRIVKEY_PATH=/etc/leap/soledad-server.pem
TWISTD_PATH=/usr/bin/twistd
@@ -32,14 +31,11 @@ case "$1" in
start)
echo -n "Starting soledad: twistd"
start-stop-daemon --start --quiet --exec $TWISTD_PATH -- \
- --pidfile=$PIDFILE \
- --logfile=$LOGFILE \
- web \
- --wsgi=$OBJ \
- --https=$HTTPS_PORT \
- --certificate=$CERT_PATH \
- --privkey=$PRIVKEY_PATH \
- --port=$PLAIN_PORT
+ --pidfile=$PIDFILE \
+ --logfile=$LOGFILE \
+ web \
+ --wsgi=$OBJ \
+ --port=ssl:$HTTPS_PORT:privateKey=$PRIVKEY_PATH:certKey=$CERT_PATH
echo "."
;;