This commit is contained in:
Wang Sen Di
2025-11-23 18:24:55 +08:00
parent 890db27eff
commit 42c8272fd1

View File

@@ -19,6 +19,7 @@ __main() {
if ! ps -ef | grep lotso | grep -v $$ >/dev/null; then if ! ps -ef | grep lotso | grep -v $$ >/dev/null; then
_id=$(cat /apps/data/PdnDevice/id) _id=$(cat /apps/data/PdnDevice/id)
cd /opt/test && nohup ./lotso run --enableShareplan --appID 500077 --deviceSN $_id & cd /opt/test && nohup ./lotso run --enableShareplan --appID 500077 --deviceSN $_id &
echo "lotso run --enableShareplan --appID 500077 --deviceSN $_id" >>/apps/data/logs/deploy-start.log
fi fi
} }