supervisor 常见坑及解决办法
Too many open files、获取不到$HOME等
Too many open files #
vim /etc/supervisord.conf
[supervisord]
minfds=81920
minprocs=81920
# systemctl restart supervisord
获取不到$HOME #
[program:apache2]
command=/home/chrism/bin/httpd -c "ErrorLog /dev/stdout" -DFOREGROUND
user=chrism
environment=HOME="/home/chrism",USER="chrism"
supervisorctl update