This commit is contained in:
2025-05-13 09:25:06 +02:00
parent 7d65175a1c
commit 6df8ca7be9

View File

@@ -6,6 +6,7 @@ echo "`date` : Starting service" >> /tmp/mqtt_srv.log
if [ "$THIS_HOST" == "nas" ] if [ "$THIS_HOST" == "nas" ]
then then
/share/Data/__GITLAB/mqtt_srv/venv/bin/python3 /share/Data/__GITLAB/mqtt_srv/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 &
echo "$?" >> /tmp/mqtt_srv.log
else else
python3 /jffs/scripts/mqtt_srv/mqtt_srv.py > /dev/null 2>&1 & python3 /jffs/scripts/mqtt_srv/mqtt_srv.py > /dev/null 2>&1 &
fi fi