diff --git a/handlers/restart_services.yml b/handlers/restart_services.yml index eecf439bb6..6b3cd0c3aa 100644 --- a/handlers/restart_services.yml +++ b/handlers/restart_services.yml @@ -30,6 +30,9 @@ - name: restart fedmsg-relay command: /usr/local/bin/conditional-restart.sh fedmsg-relay fedmsg-relay +- name: restart fedwatch + action: service name=fedwatch state=restarted + - name: reload httpd command: /usr/local/bin/conditional-reload.sh httpd httpd diff --git a/roles/bodhi2/backend/tasks/main.yml b/roles/bodhi2/backend/tasks/main.yml index c7ef6bd846..ed20a32d50 100644 --- a/roles/bodhi2/backend/tasks/main.yml +++ b/roles/bodhi2/backend/tasks/main.yml @@ -174,6 +174,7 @@ - name: configure fedwatch to sync packages as soon as requests are process. copy: src=fedwatch.conf dest=/etc/fedwatch.conf + notify: restart fedwatch tags: - bodhi - fedwatch