start.sh: Remove rsyslogd.pid file on mlnx syncd docker (#35)

This commit is contained in:
Shuotian Cheng 2016-10-19 14:39:44 -07:00 committed by GitHub
parent 51fa77fa8d
commit 93852194eb

View File

@ -12,6 +12,9 @@ trap clean_up SIGTERM SIGKILL
# occures
. mlnx-fw-upgrade.sh
# FIXME: the script cannot trap SIGTERM signal and it exits without clean_up
# Remove rsyslogd.pid file manually so that to start the rsyslog instantly
[ -e /var/run/rsyslogd.pid ] && rm /var/run/rsyslogd.pid
service rsyslog start
service syncd start