supervisor配置
[supervisord]
http_port=/var/tmp/supervisor.sock
pidfile=/var/run/supervisord.pid
logfile=/var/log/supervisor/supervisord.log;
[program:golang-server]
directory=/data/wwwroot/
command=/data/wwwroot/golang-server
autostart=true
autorestart=true
stdout_logfile=/var/log/supervisor/golang-server.log
stderr_logfile=/var/log/supervisor/golang-server.log
日志文件里面没有任何东西。supervisord
日志文件也没有;
服务运行状态正常。supervisor
进程正常