From 1cb4c59bc3601d5083fc07d6a43887dbc8538018 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Thu, 18 Jul 2013 12:45:09 -0400 Subject: rename mx.tac to leap_mx.tac and install it in the standard twisted /usr/share/apps directory --- pkg/leap_mx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pkg/leap_mx') 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 \ -- cgit v1.2.3