-
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user