[dhcp_relay] Add extra sleep before starting relay agent processes (#3824)
This commit is contained in:
parent
5e6f8adb22
commit
7622a30d98
@ -16,6 +16,12 @@ if [ $(supervisorctl status | grep -c "^isc-dhcp-relay:") -gt 0 ]; then
|
|||||||
# lifetime of the process.
|
# lifetime of the process.
|
||||||
/usr/bin/wait_for_intf.sh
|
/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)
|
# Start all DHCP relay agent(s)
|
||||||
supervisorctl start isc-dhcp-relay:*
|
supervisorctl start isc-dhcp-relay:*
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user