summaryrefslogtreecommitdiff
path: root/pkg/leap_mx
diff options
context:
space:
mode:
authorTomas Touceda <chiiph@leap.se>2013-05-08 12:15:11 -0300
committerTomas Touceda <chiiph@leap.se>2013-05-08 12:35:07 -0300
commit67d071cd6beeee96da0055647d037819c1018976 (patch)
tree0e4645238e76e2fdbed8031110cd249d2ca03706 /pkg/leap_mx
parentd8d4c91e88036726eb12d10aea6df2fba7c67ffa (diff)
Fix twistd path for deployment servers
Diffstat (limited to 'pkg/leap_mx')
-rw-r--r--pkg/leap_mx3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/leap_mx b/pkg/leap_mx
index 0b50426..da8a3c8 100644
--- a/pkg/leap_mx
+++ b/pkg/leap_mx
@@ -9,7 +9,6 @@ logfile=/var/log/leap_mx.log
[ -r /etc/default/leap_mx ] && . /etc/default/leap_mx
-test -x /usr/bin/twistd || exit 0
test -r $file || exit 0
test -r /etc/leap/ || exit 0
@@ -18,7 +17,7 @@ case "$1" in
start)
echo -n "Starting leap_mx: twistd"
HOME="/var/lib/leap_mx/" \
- start-stop-daemon --start --quiet --exec /usr/bin/twistd -- \
+ start-stop-daemon --start --quiet --exec /usr/local/bin/twistd -- \
--pidfile=$pidfile \
--rundir=$rundir \
--python=$file \