mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 11:42:18 +08:00
Merge pull request #709 from yijiangchengming/patch-1
Update start.sh 增加容器自启方式
This commit is contained in:
commit
1ec46a2367
|
@ -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服务即将关闭……
|
||||
|
|
Loading…
Reference in New Issue
Block a user