diff options
author | Aaron LI <aly@aaronly.me> | 2018-06-24 17:08:54 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-06-24 17:08:54 +0800 |
commit | b8f4a6b806ecaf157cb5e4f822c7a5c2d34bdf09 (patch) | |
tree | 421cf54a759ef77cdb459279a5f1f8815d26ccff /roles/shadowsocks/handlers | |
parent | 23e763e7f75093c3a2ad21c40ce3644984df0098 (diff) | |
download | ansible-dfly-vps-b8f4a6b806ecaf157cb5e4f822c7a5c2d34bdf09.tar.bz2 |
shadowsocks: Support multiple instances (share with others)
Add the "shadowsocks" rc script that allows multiple instances (based
on the uwsgi rc script).
Update the role and vars to setup two shadowsocks instances.
Diffstat (limited to 'roles/shadowsocks/handlers')
-rw-r--r-- | roles/shadowsocks/handlers/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/shadowsocks/handlers/main.yml b/roles/shadowsocks/handlers/main.yml index a4b1aec..f165bc8 100644 --- a/roles/shadowsocks/handlers/main.yml +++ b/roles/shadowsocks/handlers/main.yml @@ -1,3 +1,3 @@ --- - name: restart-shadowsocks - command: rcrestart shadowsocks-libev + command: service shadowsocks restart |