[dhcp_relay] Add extra sleep before starting relay agent processes (#3824)
This commit is contained in:
parent
3920ac2368
commit
8c4f7e5933
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user