You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bazarr/.github/scripts/build_test.sh

15 lines
194 B

#!/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