aboutsummaryrefslogtreecommitdiffstats
path: root/roles/shadowsocks/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/shadowsocks/tasks/main.yml')
-rw-r--r--roles/shadowsocks/tasks/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/shadowsocks/tasks/main.yml b/roles/shadowsocks/tasks/main.yml
index 26059fa..bd22af4 100644
--- a/roles/shadowsocks/tasks/main.yml
+++ b/roles/shadowsocks/tasks/main.yml
@@ -9,6 +9,7 @@
src: shadowsocks
dest: /usr/local/etc/rc.d/shadowsocks
mode: 0555
+ notify: restart-shadowsocks
- name: setup configuration file
vars:
@@ -18,6 +19,7 @@
dest: /usr/local/etc/shadowsocks-libev/{{ profile.name }}.json
mode: 0640
with_items: "{{ shadowsocks.profiles }}"
+ notify: restart-shadowsocks
- name: setup rc.conf
lineinfile: