summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-07-18 12:45:09 -0400
committerMicah Anderson <micah@riseup.net>2013-07-18 15:47:56 -0400
commit1cb4c59bc3601d5083fc07d6a43887dbc8538018 (patch)
tree91d0c69d9283a00268b2f621d9c6a88a84f6e59f /pkg
parent7fc33cd84a345d002d54444d8e504e1f70e62df3 (diff)
rename mx.tac to leap_mx.tac and install it in the standard twisted /usr/share/apps directory
Diffstat (limited to 'pkg')
-rw-r--r--pkg/leap_mx5
-rw-r--r--[-rwxr-xr-x]pkg/leap_mx.tac (renamed from pkg/mx.tac)0
2 files changed, 3 insertions, 2 deletions
diff --git a/pkg/leap_mx b/pkg/leap_mx
index da8a3c8..e9a68bb 100644
--- a/pkg/leap_mx
+++ b/pkg/leap_mx
@@ -4,8 +4,9 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin
pidfile=/var/run/leap_mx.pid \
rundir=/var/lib/leap_mx/ \
-file=/usr/local/bin/mx.tac \
+file=/usr/share/app/leap_mx.tac \
logfile=/var/log/leap_mx.log
+twistd_path=/usr/bin/twistd
[ -r /etc/default/leap_mx ] && . /etc/default/leap_mx
@@ -17,7 +18,7 @@ case "$1" in
start)
echo -n "Starting leap_mx: twistd"
HOME="/var/lib/leap_mx/" \
- start-stop-daemon --start --quiet --exec /usr/local/bin/twistd -- \
+ start-stop-daemon --start --quiet --exec $twistd_path -- \
--pidfile=$pidfile \
--rundir=$rundir \
--python=$file \
diff --git a/pkg/mx.tac b/pkg/leap_mx.tac
index cdebba7..cdebba7 100755..100644
--- a/pkg/mx.tac
+++ b/pkg/leap_mx.tac