# 安装
apt-get install supervisor# 检查
echo_supervisord_conf# 查看配置文件所在位置
# [include]
# files = /etc/supervisor/conf.d/*.conf
ps -ef | grep supervisorcd /etc/supervisor/conf.d/lscat frp.conf
[program:frp]
command = /data/work/frp/frpc -c /data/work/frp/frpc.ini
autostart = true
#重新加载
sudo supervisorctl rereadsudo supervisorctl update
参考
Linux进程管理工具——supervisor_linux supervisor-CSDN博客