sonic-buildimage/dockers/docker-sonic-restapi/start.sh
2020-01-10 13:46:32 -08:00

11 lines
209 B
Bash
Executable File

#!/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