Wait a bit before checking the log file, also check if it's alive
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
parent
999f713115
commit
8142c780e0
@ -30,5 +30,7 @@ kill -HUP `cat ${PID}`
|
|||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
./api -i troglobit -p
|
./api -i troglobit -p
|
||||||
|
sleep 2
|
||||||
|
ps fax |grep -A2 syslogd
|
||||||
grep "troglobit - MSGID - ${MSG}" ${LOGV1} || (echo "== ${LOGV1}"; tail -10 ${LOGV1}; echo "== ${LOG}"; tail -10 ${LOG}; cat ${CONFD}/v1.conf; false)
|
grep "troglobit - MSGID - ${MSG}" ${LOGV1} || (echo "== ${LOGV1}"; tail -10 ${LOGV1}; echo "== ${LOG}"; tail -10 ${LOG}; cat ${CONFD}/v1.conf; false)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user