ubuntu 守护进程 supervisor

# 安装
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

参考

Linux进程管理工具——supervisor_linux supervisor-CSDN博客

你可能感兴趣的:(ubuntu,linux,服务器)