summaryrefslogtreecommitdiffstats
path: root/blimp/engine/start_engine.sh
blob: 519f31707744dfa56e4f4f65fa8da8586b5aac75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

stunnel \
  -p /engine/data/stunnel.pem \
  -P /engine/stunnel.pid \
  -d 25466 -r 25467 -f &
LD_LIBRARY_PATH=/engine/ /engine/blimp_engine_app \
  --disable-gpu \
  --use-remote-compositing \
  --disable-cached-picture-raster \
  --blimp-client-token-path=/engine/data/client_token \
  --android-fonts-path=/engine/fonts \
  --disable-remote-fonts \
  $@ &

# Stop execution if either stunnel or blimp_engine_app die.
wait -n