Refine etc script to collect stderr logs
This commit is contained in:
parent
7b68330651
commit
f08a1a1b10
|
|
@ -68,7 +68,7 @@ start() {
|
||||||
ok_msg "Starting SRS..."
|
ok_msg "Starting SRS..."
|
||||||
|
|
||||||
# get log file
|
# get log file
|
||||||
log_file=`cd ${ROOT} && cat ${CONFIG} |grep '^log_file'| awk '{print $2}'| awk -F ';' '{print $1}'`
|
log_file=`cd ${ROOT} && cat ${CONFIG} |grep '^srs_log_file'| awk '{print $2}'| awk -F ';' '{print $1}'`
|
||||||
if [[ -z $log_file ]]; then log_file=${DEFAULT_LOG_FILE}; fi
|
if [[ -z $log_file ]]; then log_file=${DEFAULT_LOG_FILE}; fi
|
||||||
# get abs path
|
# get abs path
|
||||||
log_dir=`dirname $log_file`
|
log_dir=`dirname $log_file`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user