[dhcp_relay] Add extra sleep before starting relay agent processes (#3824)

This commit is contained in:
Joe LeVeque 2019-11-26 18:16:57 -08:00 committed by Ying Xie
parent 3920ac2368
commit 8c4f7e5933

View File

@ -16,6 +16,12 @@ if [ $(supervisorctl status | grep -c "^isc-dhcp-relay:") -gt 0 ]; then
# lifetime of the process.
/usr/bin/wait_for_intf.sh
# Allow a bit more time for interfaces to settle before starting the
# relay agent processes.
# FIXME: Remove/decrease this once we determine how to prevent future race
# conditions here.
sleep 180
# Start all DHCP relay agent(s)
supervisorctl start isc-dhcp-relay:*
fi