File size: 299 Bytes
f8efe2e
 
 
 
 
 
be82158
 
f8efe2e
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
set -e

echo "Starting FRController..."
/etc/init.d/frinit.sh start &

echo "Waiting for FRController on 127.0.0.1:20003..."
/app/wait-for-it.sh 127.0.0.1:20003 -t 60 -- echo "FRController is up"

echo "FRController is running"
exec python3 -u /app/run.py
echo "FRController has stopped"