diff --git a/mqtt_srv.sh b/mqtt_srv.sh index 7ade18d..9795101 100644 --- a/mqtt_srv.sh +++ b/mqtt_srv.sh @@ -5,7 +5,7 @@ case $1 in echo lala2 >> /tmp/mqtt_srv.log if [ "$THIS_HOST" == "nas" ] then - source /share/Data/python/bin/activate;python3 /usr/bin/mqtt_srv.py > /dev/null 2>&1 & + /share/Data/__GITLAB/mqtt_srv/venv/bin/python3 /share/Data/__GITLAB/mqtt_srv/mqtt_srv.py > /dev/null 2>&1 & else python3 /jffs/scripts/mqtt_srv/mqtt_srv.py > /dev/null 2>&1 & fi