aboutsummaryrefslogtreecommitdiffstats
path: root/roles/shadowsocks/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'roles/shadowsocks/handlers')
-rw-r--r--roles/shadowsocks/handlers/main.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/shadowsocks/handlers/main.yml b/roles/shadowsocks/handlers/main.yml
index f165bc8..280568b 100644
--- a/roles/shadowsocks/handlers/main.yml
+++ b/roles/shadowsocks/handlers/main.yml
@@ -1,3 +1,5 @@
---
- name: restart-shadowsocks
- command: service shadowsocks restart
+ service:
+ name: shadowsocks
+ state: restarted