1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-23 00:03:33 +00:00
bazarr/.github/scripts/build_test.sh

15 lines
194 B
Bash
Raw Normal View History

#!/bin/bash
2023-11-18 17:10:19 +00:00
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