summaryrefslogtreecommitdiffhomepage
path: root/.github/scripts/build_test.sh
blob: b3d8eb4bf98032e153857a490480d3338a35dbfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

python3 "${ROOT_DIRECTORY}"/bazarr.py --no-update &
PID=$!

sleep 30

if kill -s 0 $PID
then
  echo "Bazarr is still running. We'll kill it..."
  kill $PID
  exit 0
else
  exit 1
fi