Python:supervisor

来自YS的笔记
跳到导航 跳到搜索

使用supervisor管理shadowsocks进程

环境:Ubuntu 18.10

安装

apt install supervisor

修改配置

进入配置文件目录

cd /etc/supervisor/conf.d/

写入配置

vim shadowsocks.conf
[program:shadowsocks]
command=ss-server -c /etc/shadowsocks-libev/config.json

重启supervisor服务

service supervisor restart