mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
No longer required now tail has --follow=name --retry
This commit is contained in:
parent
d6c7a08126
commit
73d4782e6e
5
init/msm
5
init/msm
@ -807,8 +807,6 @@ server_log_get_line() {
|
||||
server_property "$1" CONSOLE_EVENT_REGEX
|
||||
|
||||
unset RETURN
|
||||
# Make sure there is a server log to check
|
||||
as_user "${SERVER_USERNAME[$1]}" "touch ${SERVER_LOG_PATH[$1]}"
|
||||
|
||||
local regex="${SERVER_CONSOLE_EVENT_OUTPUT_REGEX[$1]} ($3)"
|
||||
local timeout_deadline=$(( $(now) + $4 ))
|
||||
@ -841,9 +839,6 @@ server_log_dots_for_lines() {
|
||||
server_property "$1" LOG_PATH
|
||||
server_property "$1" CONSOLE_EVENT_REGEX
|
||||
|
||||
# Make sure there is a server log to check
|
||||
as_user "${SERVER_USERNAME[$1]}" "touch ${SERVER_LOG_PATH[$1]}"
|
||||
|
||||
local regex="${SERVER_CONSOLE_EVENT_OUTPUT_REGEX[$1]} ($3)"
|
||||
local timeout_deadline=$(( $(now) + $4 ))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user