summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--handlers/restart_services.yml3
-rw-r--r--roles/bodhi2/backend/tasks/main.yml1
2 files changed, 4 insertions, 0 deletions
diff --git a/handlers/restart_services.yml b/handlers/restart_services.yml
index eecf439bb..6b3cd0c3a 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 c7ef6bd84..ed20a32d5 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