From 82e25b14f1c0f6d07758f1d91a7da8474d682f1c Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Tue, 13 Aug 2013 16:34:24 -0400 Subject: fix initscript variables --- debian/changelog | 6 ++++++ debian/leap-mx.init | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index e7c7958..75ad370 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +leap-mx (0.3.0.2) unstable; urgency=low + + * Fix initscript variables + + -- Micah Anderson Tue, 13 Aug 2013 16:33:45 -0400 + leap-mx (0.3.0.1) unstable; urgency=low * Require twisted >=13.0.0-1~bpo70 diff --git a/debian/leap-mx.init b/debian/leap-mx.init index 3f07a86..3b454d0 100644 --- a/debian/leap-mx.init +++ b/debian/leap-mx.init @@ -28,18 +28,18 @@ case "$1" in start) echo -n "Starting leap_mx: twistd" HOME="/var/lib/leap_mx/" \ - start-stop-daemon --start --quiet --exec $twistd_path -- \ - --pidfile=$pidfile \ - --rundir=$rundir \ - --python=$file \ - --logfile=$logfile + start-stop-daemon --start --quiet --exec $TWISTD_PATH -- \ + --pidfile=$PIDFILE \ + --rundir=$RUNDIR \ + --python=$FILE \ + --logfile=$LOGFILE echo "." ;; stop) echo -n "Stopping leap_mx: twistd" start-stop-daemon --stop --quiet \ - --pidfile $pidfile + --pidfile $PIDFILE echo "." ;; -- cgit v1.2.3