Skip to content

Commit

Permalink
start lldp-syncd and lldpmgrd after lldpd fully started
Browse files Browse the repository at this point in the history
Signed-off-by: Guohan Lu <gulv@microsoft.com>
  • Loading branch information
lguohan committed Feb 12, 2019
1 parent c46852a commit 83510f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dockers/docker-lldp-sv2/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ rm -f /var/run/lldpd.socket

supervisorctl start rsyslogd
supervisorctl start lldpd
supervisorctl start lldp-syncd
supervisorctl start lldpmgrd

# Current lldpd version has a bug.
# When lldpd starts it is in the pause state by default
Expand All @@ -35,3 +33,6 @@ do
lldpcli -u /var/run/lldpd.socket -c /etc/lldpd.conf -c /etc/lldpd.d resume > /dev/null && break
sleep 1
done

supervisorctl start lldp-syncd
supervisorctl start lldpmgrd

0 comments on commit 83510f9

Please sign in to comment.