mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 11:42:18 +08:00
Update start.sh 增加容器自启方式
请将CMD设置为"$CRASHDIR"/start.sh start infinity 例如 /etc/ShellCrash/start.sh start infinity
This commit is contained in:
parent
b8fe2666a1
commit
29c00c5937
|
@ -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