Merge pull request #709 from yijiangchengming/patch-1

Update start.sh  增加容器自启方式
This commit is contained in:
juewuy 2024-08-17 08:50:56 +08:00 committed by GitHub
commit 1ec46a2367
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1830,6 +1830,9 @@ start)
else else
bfstart && start_old bfstart && start_old
fi fi
if [ "$2" = "infinity" ]; then #增加容器自启方式请将CMD设置为"$CRASHDIR"/start.sh start infinity
sleep infinity
fi
;; ;;
stop) stop)
logger ShellCrash服务即将关闭…… logger ShellCrash服务即将关闭……