diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2020-05-16 20:33:52 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2020-05-16 20:39:53 +0200 |
commit | 70f16ac939497e3e424bad05c5f82ce36d1bceda (patch) | |
tree | 652974ea391732358e1605623a35198addc11d71 /roles/git/handlers | |
parent | 2f9574850b356a746ee3ff9a8a311c450784b53c (diff) |
git browser and HTTP backend: harden config and port to Debian 10.
Diffstat (limited to 'roles/git/handlers')
-rw-r--r-- | roles/git/handlers/main.yml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/roles/git/handlers/main.yml b/roles/git/handlers/main.yml index d52c9cc..6212d91 100644 --- a/roles/git/handlers/main.yml +++ b/roles/git/handlers/main.yml @@ -2,8 +2,17 @@ - name: systemctl daemon-reload command: /bin/systemctl daemon-reload -- name: Restart uWSGI - service: name=uwsgi state=restarted +- name: Stop cgit + service: name=cgit.service state=stopped + +- name: Restart cgit + service: name=cgit.socket state=restarted + +- name: Stop git-http-backend + service: name=git-http-backend.service state=stopped + +- name: Restart git-http-backend + service: name=git-http-backend.socket state=restarted - name: Restart Nginx service: name=nginx state=restarted |