Skip to content

Commit

Permalink
start.sh: Remove rsyslogd.pid file on mlnx syncd docker (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuotian Cheng authored and qiluo-msft committed Nov 17, 2016
1 parent c052a8a commit 79d0f23
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dockers/docker-syncd-mlnx/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 79d0f23

Please sign in to comment.