安装supervisor:

sudo apt install supervisor -y

创建配置文件:

sudo vim /etc/supervisor/conf.d/frpc.conf

frpc.conf示例:

[program:frpc]
command = /root/frpc/frpc -c /root/frpc/frpc.ini
autostart = true
stdout_logfile_maxbytes = 1024MB
stdout_logfile_backups = 3

重新加载一下supervisor:

# 重启supervisor
sudo systemctl restart supervisor
# 查看supervisor运行状态
sudo supervisorctl status

相关文章:

  • 2021-04-07
  • 2022-12-23
  • 2021-11-23
  • 2021-10-15
  • 2022-12-23
  • 2021-12-14
猜你喜欢
  • 2021-11-28
  • 2021-11-22
  • 2021-06-16
  • 2021-09-12
  • 2022-02-09
  • 2021-12-09
  • 2021-11-19
相关资源
相似解决方案