diff options
-rwxr-xr-x | bitbake/bin/toaster | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster index de03099a68..eb83e9afaa 100755 --- a/bitbake/bin/toaster +++ b/bitbake/bin/toaster | |||
@@ -31,7 +31,7 @@ | |||
31 | webserverKillAll() | 31 | webserverKillAll() |
32 | { | 32 | { |
33 | local pidfile | 33 | local pidfile |
34 | for pidfile in ${BUILDDIR}/.toastermain.pid; do | 34 | for pidfile in ${BUILDDIR}/.toastermain.pid ${BUILDDIR}/.runbuilds.pid; do |
35 | if [ -f ${pidfile} ]; then | 35 | if [ -f ${pidfile} ]; then |
36 | pid=`cat ${pidfile}` | 36 | pid=`cat ${pidfile}` |
37 | while kill -0 $pid 2>/dev/null; do | 37 | while kill -0 $pid 2>/dev/null; do |
@@ -339,6 +339,7 @@ case $CMD in | |||
339 | bitbake --observe-only -u toasterui --remote-server=$BBSERVER -t xmlrpc >>${BUILDDIR}/toaster_ui.log 2>&1 \ | 339 | bitbake --observe-only -u toasterui --remote-server=$BBSERVER -t xmlrpc >>${BUILDDIR}/toaster_ui.log 2>&1 \ |
340 | & echo $! >${BUILDDIR}/.toasterui.pid | 340 | & echo $! >${BUILDDIR}/.toasterui.pid |
341 | fi | 341 | fi |
342 | python $BBBASEDIR/lib/toaster/manage.py runbuilds & echo $! >${BUILDDIR}/.runbuilds.pid | ||
342 | fi | 343 | fi |
343 | if [ $start_success -eq 1 ]; then | 344 | if [ $start_success -eq 1 ]; then |
344 | # set fail safe stop system on terminal exit | 345 | # set fail safe stop system on terminal exit |