bug fixed: error path specified by running -- docklet-worker start-meter

This commit is contained in:
cuiwei13 2016-05-19 02:43:58 +08:00
parent 08f2f03014
commit ec3f3611bf
1 changed files with 1 additions and 1 deletions

View File

@ -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 $?
}