summaryrefslogtreecommitdiffstats
path: root/roles/bacula-dir/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bacula-dir/handlers')
-rw-r--r--roles/bacula-dir/handlers/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/bacula-dir/handlers/main.yml b/roles/bacula-dir/handlers/main.yml
new file mode 100644
index 0000000..175dfb2
--- /dev/null
+++ b/roles/bacula-dir/handlers/main.yml
@@ -0,0 +1,9 @@
+---
+- name: systemctl daemon-reload
+ command: /bin/systemctl daemon-reload
+
+- name: Restart stunnel
+ service: name=stunnel4 pattern=/usr/bin/stunnel4 state=restarted
+
+- name: Restart bacula-director
+ service: name=bacula-director state=restarted