summaryrefslogtreecommitdiff
path: root/pkg/soledad
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-05-09 01:17:08 +0900
committerKali Kaneko <kali@leap.se>2013-05-09 01:17:13 +0900
commit2cd5a7e934a081709485e372bd9f1868a596e5d4 (patch)
treec894a9a710211fc36626788d25daf24ee7d67c13 /pkg/soledad
parentc8c77b406946287110d2a6092c4d4ad419925981 (diff)
fix paths for deployment servers
Diffstat (limited to 'pkg/soledad')
-rw-r--r--pkg/soledad6
1 files changed, 1 insertions, 5 deletions
diff --git a/pkg/soledad b/pkg/soledad
index c46785c2..cdffe19f 100644
--- a/pkg/soledad
+++ b/pkg/soledad
@@ -3,8 +3,6 @@
PATH=/sbin:/bin:/usr/sbin:/usr/bin
-twistd -n web --wsgi=leap.soledad.server.application --https=2424 --certificate=server.pem --privkey=server.pem --port=65534
-
pidfile=/var/run/soledad.pid \
rundir=/var/lib/soledad/ \
obj=leap.soledad.server.application \
@@ -16,8 +14,6 @@ privkey_path=/etc/leap/soledad-server.pem
[ -r /etc/default/soledad ] && . /etc/default/soledad
-test -x /usr/bin/twistd || exit 0
-test -r $file || exit 0
test -r /etc/leap/ || exit 0
@@ -25,7 +21,7 @@ case "$1" in
start)
echo -n "Starting soledad: twistd"
HOME="/var/lib/soledad/" \
- start-stop-daemon --start --quiet --exec /usr/bin/twistd -- \
+ start-stop-daemon --start --quiet --exec /usr/local/bin/twistd -- \
--pidfile=$pidfile \
--logfile=$logfile \
web \