From ec3f3611bfbe77ddef6a8b9aa138b11931af5204 Mon Sep 17 00:00:00 2001 From: cuiwei13 Date: Thu, 19 May 2016 02:43:58 +0800 Subject: [PATCH] bug fixed: error path specified by running -- docklet-worker start-meter --- bin/docklet-worker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/docklet-worker b/bin/docklet-worker index 554713b..8c33900 100755 --- a/bin/docklet-worker +++ b/bin/docklet-worker @@ -95,7 +95,7 @@ do_stop () { do_start_meter() { log_daemon_msg "Starting $DOCKMETER_NAME in $FS_PREFIX" - start-stop-daemon --start --background --pidfile $DOCKMETER_PIDFILE --make-pidfile --exec `pwd`/main.py + start-stop-daemon --start --background --pidfile $DOCKMETER_PIDFILE --make-pidfile --exec $DOCKLET_HOME/meter/main.py log_end_msg $? }