sonic-buildimage/dockers/docker-saiserver-cavm/start.sh

13 lines
210 B
Bash
Executable File

#!/bin/bash
function clean_up {
service rsyslog stop
}
trap clean_up SIGTERM SIGKILL
rm -f /var/run/rsyslogd.pid
service rsyslog start
/usr/bin/saiserver -p /etc/sai/profile.ini -f /etc/sai/portmap.ini