[swss]: Sleep 5 min regardless of arp_update return code (#743)
- arp_update return code is not guaranteed to be true/false. When there is no VLAN, arp_update will return true. When there are VLANs, arp_update will return false because the command arping returns 1 due to the option '-w 0'. - This script should be run every 5 minutes regardless of the return code.
This commit is contained in:
parent
4bdcac8e4f
commit
d1b12dc0ca
@ -60,7 +60,7 @@ stdout_logfile=syslog
|
|||||||
stderr_logfile=syslog
|
stderr_logfile=syslog
|
||||||
|
|
||||||
[program:arp_update]
|
[program:arp_update]
|
||||||
command=bash -c "/usr/bin/arp_update && sleep 300"
|
command=bash -c "/usr/bin/arp_update; sleep 300"
|
||||||
priority=8
|
priority=8
|
||||||
autostart=false
|
autostart=false
|
||||||
autorestart=true
|
autorestart=true
|
||||||
|
Reference in New Issue
Block a user