~michael-sheldon/ubuntu-touch-session/fix-1659388

« back to all changes in this revision

Viewing changes to ubuntu-session

  • Committer: Tarmac
  • Author(s): Ricardo Mendoza
  • Date: 2012-11-26 20:06:51 UTC
  • mfrom: (14.1.1 ubuntu-session)
  • Revision ID: tarmac-20121126200651-xktqm811oa93pbkt
Wait for completion before starting the next service.

Approved by PS Jenkins bot, Ricardo Salveti.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
    ${service[0]} $arguments &> "$HOME/.ubuntu-session/logs/$binary.log" &
80
80
    pids=("${pids[@]}" "${service[0]} $!")
81
81
    echo "Started ${service[0]} with pid $!"
 
82
    sleep 3
82
83
done < "$services"
83
84
 
84
85
trap 'on_stop' TERM