# 安装
apt-get install supervisor
# 检查
echo_supervisord_conf
# 查看配置文件所在位置
# [include]
# files = /etc/supervisor/conf.d/*.conf
ps -ef | grep supervisor
cd /etc/supervisor/conf.d/
ls
cat frp.conf
[program:frp]
command = /data/work/frp/frpc -c /data/work/frp/frpc.ini
autostart = true
#重新加载
sudo supervisorctl reread
sudo supervisorctl update
参考