“Python:supervisor”的版本间的差异

来自YS的笔记
跳到导航 跳到搜索
 
第1行: 第1行:
<seo title ="首页" titlemode ="append" keywords="python supervisor shadowsocks" description ="开发技术笔记"></seo>
+
<seo title ="Python:supervisor" titlemode ="append" keywords="python supervisor shadowsocks" description ="开发技术笔记"></seo>
  
 
使用supervisor管理shadowsocks进程
 
使用supervisor管理shadowsocks进程

2019年8月5日 (一) 10:36的最新版本

使用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