mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-15 19:22:54 +08:00
~修复自启延迟会在手动启动时生效的bug
This commit is contained in:
parent
fa49934a71
commit
273a2359d2
|
@ -1801,8 +1801,8 @@ bfstart() { #启动前
|
||||||
afstart() { #启动后
|
afstart() { #启动后
|
||||||
[ -z "$firewall_area" ] && firewall_area=1
|
[ -z "$firewall_area" ] && firewall_area=1
|
||||||
#延迟启动
|
#延迟启动
|
||||||
[ -n "$start_delay" ] && [ "$start_delay" -gt 0 ] && {
|
[ ! -f "$TMPDIR"/crash_start_time ] && [ -n "$start_delay" ] && [ "$start_delay" -gt 0 ] && {
|
||||||
logger "ShellCrash将延迟$start_delay秒启动" 31 pushoff
|
logger "ShellCrash将延迟$start_delay秒启动" 31
|
||||||
sleep $start_delay
|
sleep $start_delay
|
||||||
}
|
}
|
||||||
#设置循环检测面板端口以判定服务启动是否成功
|
#设置循环检测面板端口以判定服务启动是否成功
|
||||||
|
|
Loading…
Reference in New Issue
Block a user