mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-21 05:43:22 -07:00
Try various python versions in startup script
This commit is contained in:
parent
cd8a899521
commit
660141cb16
1 changed files with 17 additions and 1 deletions
16
start.sh
16
start.sh
|
@ -17,5 +17,21 @@ if [[ "$TAUTULLI_DOCKER" = "True" ]]; then
|
||||||
python Tautulli.py --datadir /config
|
python Tautulli.py --datadir /config
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
if which python3 >/dev/null; then
|
||||||
|
python3 Tautulli.py &> /dev/null &
|
||||||
|
elif which python3.8 >/dev/null; then
|
||||||
|
python3.8 Tautulli.py &> /dev/null &
|
||||||
|
elif which python3.7 >/dev/null; then
|
||||||
|
python3.7 Tautulli.py &> /dev/null &
|
||||||
|
elif which python3.6 >/dev/null; then
|
||||||
|
python3.6 Tautulli.py &> /dev/null &
|
||||||
|
elif which python >/dev/null; then
|
||||||
python Tautulli.py &> /dev/null &
|
python Tautulli.py &> /dev/null &
|
||||||
|
elif which python2 >/dev/null; then
|
||||||
|
python2 Tautulli.py &> /dev/null &
|
||||||
|
elif which python2.7 >/dev/null; then
|
||||||
|
python2.7 Tautulli.py &> /dev/null &
|
||||||
|
else
|
||||||
|
echo "Cannot start Tautulli: python not found."
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue