diff options
| author | Kumar <kumar@kumardamani.xyz> | 2021-11-23 14:59:08 +0000 |
|---|---|---|
| committer | Kumar Damani <me@kumardamani.net> | 2022-03-25 19:45:25 +0000 |
| commit | a857eb82ec9c4a79ad5e41462e2ab82c2660982e (patch) | |
| tree | 9ca51ddfb551322bd4d2fa3f949fa8898032632d /roles/seafile_non_docker/handlers | |
initial commit
Diffstat (limited to 'roles/seafile_non_docker/handlers')
| -rw-r--r-- | roles/seafile_non_docker/handlers/main.yaml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/roles/seafile_non_docker/handlers/main.yaml b/roles/seafile_non_docker/handlers/main.yaml new file mode 100644 index 0000000..73f755f --- /dev/null +++ b/roles/seafile_non_docker/handlers/main.yaml @@ -0,0 +1,19 @@ +--- + +- name: 'Restart nginx' + systemd: + name: 'nginx' + state: 'restarted' + listen: 'nginx_restart' + +- name: 'Restart Seafile' + systemd: + name: 'seafile' + state: 'restarted' + listen: 'seafile restart' + +- name: 'Restart Seahub' + systemd: + name: 'seahub' + state: 'restarted' + listen: 'seahub restart' |
