标签:ini release auto nosql pre super etc logfile use
yum install -y epel-release
yum install -y supervisor
systemctl start supervisord
systemctl enable supervisord
cat >/etc/supervisord.d/freeswitch.ini <<EOF
[program:freeswitch]
command=/usr/local/freeswitch/bin/freeswitch -nonat -nosql
directory=/usr/local/freeswitch/bin/
user=root
autorestart=true
redirect_stderr=true
stdout_logfile=/usr/local/freeswitch/logs/supervisor.log
loglevel=info
注意:supervisor要求程序不能以后台启动,所以 -nc
要删除。
标签:ini release auto nosql pre super etc logfile use
原文地址:https://www.cnblogs.com/XY-Heruo/p/14140719.html