sonic-buildimage/dockers/docker-iccpd/start.sh
Guohan Lu 267b0b7aa8 [docker-iccpd]: use service dependency in supervisord to start services
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2020-05-22 11:01:28 -07:00

13 lines
287 B
Bash

#!/usr/bin/env bash
ICCPD_CONF_PATH=/etc/iccpd
rm -rf $ICCPD_CONF_PATH
mkdir -p $ICCPD_CONF_PATH
sonic-cfggen -d -t /usr/share/sonic/templates/iccpd.j2 > $ICCPD_CONF_PATH/iccpd.conf
mkdir -p /var/sonic
echo "# Config files managed by sonic-config-engine" > /var/sonic/config_status