Update start.sh 增加容器自启方式

请将CMD设置为"$CRASHDIR"/start.sh start infinity
例如 /etc/ShellCrash/start.sh start infinity
This commit is contained in:
yijiangchengming 2024-07-14 20:15:02 +08:00 committed by GitHub
parent b8fe2666a1
commit 29c00c5937
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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