mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 03:32:34 +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
|
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服务即将关闭……
|
||||||
|
|
Loading…
Reference in New Issue
Block a user