微微CMS-Supervisord配置


在Linux中使用Supervisor对多个应用进行后台管理,可以有效的防止应用奔溃后不能重启的情况。也方便对多个应用网站进行管理

配置文件在/etc/supervisord/confi.d/里面进行配置

yum -y install supervisor
systemctl enable supervisord


[program:test1]
directory=/data/test/vvcms1
command=/data/test/vvcms1/linux-vvcms
autostart=true
autorestart=true
stdout_logfile_maxbytes=10MB
stdout_logfile=/data/test/vvcms1/run.log