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

11 lines
209 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