diff --git a/python_apps/pypo/airtime-liquidsoap b/python_apps/pypo/airtime-liquidsoap index e36f1c73a..d24359517 100755 --- a/python_apps/pypo/airtime-liquidsoap +++ b/python_apps/pypo/airtime-liquidsoap @@ -11,6 +11,11 @@ ls_param="/usr/lib/airtime/pypo/bin/liquidsoap_scripts/ls_script.liq" exec 2>&1 +while [ ! -e /etc/airtime/liquidsoap.cfg ]; do + echo "/etc/airtime/liquidsoap.cfg does not exist." + sleep 1 +done + cd /usr/lib/airtime/pypo/bin/liquidsoap_scripts export PYTHONPATH=${api_client_path}