[swss]: Flush flex counter DB in swss_serivce.j2 (#1029)

This commit is contained in:
Marian Pritsak 2017-10-10 22:49:06 +03:00 committed by Shuotian Cheng
parent 04814cb135
commit ecd99c73d1

View File

@ -17,6 +17,7 @@ ExecStartPre=/bin/bash -c "while true; do if [ \"$(/usr/bin/docker exec database
ExecStartPre=/usr/bin/docker exec database redis-cli -n 0 FLUSHDB ExecStartPre=/usr/bin/docker exec database redis-cli -n 0 FLUSHDB
ExecStartPre=/usr/bin/docker exec database redis-cli -n 1 FLUSHDB ExecStartPre=/usr/bin/docker exec database redis-cli -n 1 FLUSHDB
ExecStartPre=/usr/bin/docker exec database redis-cli -n 2 FLUSHDB ExecStartPre=/usr/bin/docker exec database redis-cli -n 2 FLUSHDB
ExecStartPre=/usr/bin/docker exec database redis-cli -n 5 FLUSHDB
{% if sonic_asic_platform == 'mellanox' %} {% if sonic_asic_platform == 'mellanox' %}
TimeoutStartSec=3min TimeoutStartSec=3min