This commit is contained in:
2025-05-19 10:10:30 +02:00
parent 6df8ca7be9
commit 8807fa75b1

View File

@@ -5,6 +5,7 @@ case $1 in
echo "`date` : Starting service" >> /tmp/mqtt_srv.log echo "`date` : Starting service" >> /tmp/mqtt_srv.log
if [ "$THIS_HOST" == "nas" ] if [ "$THIS_HOST" == "nas" ]
then then
echo "$?" >> /tmp/mqtt_srv.log
/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 echo "$?" >> /tmp/mqtt_srv.log
else else