[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:
Shuotian Cheng 2017-06-22 21:26:33 -07:00 committed by GitHub
parent 4bdcac8e4f
commit d1b12dc0ca

View File

@ -60,7 +60,7 @@ stdout_logfile=syslog
stderr_logfile=syslog
[program:arp_update]
command=bash -c "/usr/bin/arp_update && sleep 300"
command=bash -c "/usr/bin/arp_update; sleep 300"
priority=8
autostart=false
autorestart=true