diff --git a/start.sh b/start.sh index 09a10e4..677d328 100644 --- a/start.sh +++ b/start.sh @@ -1,14 +1,14 @@ #!/bin/sh +echo "Updating CouchPotato git repository..." +git pull + if [[ -n "${VERSION}" ]] then echo "Checking out SABnzbd version '${VERSION}'..." git checkout ${VERSION} fi -echo "Updating CouchPotato..." -git pull - CONFIG=${CONFIG:-/datadir/config.ini} echo "Starting CouchPotato with config '${CONFIG}'..." exec ./CouchPotato.py --data_dir=/datadir --config_file=${CONFIG}