sonic-buildimage/dockers/docker-sonic-restapi/start.sh

10 lines
208 B
Bash
Raw Normal View History

#!/usr/bin/env bash
mkdir -p /var/sonic
echo "# Config files managed by sonic-config-engine" > /var/sonic/config_status
rm -f /var/run/rsyslogd.pid
supervisorctl start rsyslogd
supervisorctl start restapi