summaryrefslogtreecommitdiff
path: root/debian/leap-mx.init
diff options
context:
space:
mode:
Diffstat (limited to 'debian/leap-mx.init')
-rw-r--r--debian/leap-mx.init12
1 files changed, 6 insertions, 6 deletions
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 "."
;;