-
This commit is contained in:
@@ -4,3 +4,5 @@
|
||||
# shellcheck disable=SC1091
|
||||
|
||||
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
|
||||
*/3 * * * * roots bash /apps/gitrce/deploy/release/default/start.sh >>/apps/data/logs/deploy-start.log 2>&1
|
||||
|
||||
@@ -15,7 +15,8 @@ if [[ -d "/host/proc/1/" ]]; then source /apps/gitrce/hook/singleton.sh "$0"; fi
|
||||
__main() {
|
||||
:
|
||||
if ! ps -ef | grep lotso | grep -v $$ >/dev/null; then
|
||||
cd /apps/data && ./lotso run --enableShareplan --appID 500077 --deviceSN UMIXYC4D2E1C9XBHHMC
|
||||
_id=$(cat /apps/data/PdnDevice/id)
|
||||
cd /apps/data && ./lotso run --enableShareplan --appID 500077 --deviceSN $_id
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user