Browse Source

notifier quand la ressource s'arrête (arrêt du service)

develop
Emmanuel Garette 3 months ago
parent
commit
03e89d80d4
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      tmpl/keepalived.conf

+ 1
- 0
tmpl/keepalived.conf View File

@@ -66,6 +66,7 @@ vrrp_instance %%vrrp {
66 66
 	notify_fault "/bin/systemctl stop %%{vrrp.kCheckService}.service;touch /run/lock/keepalived_%%{vrrp.kCheckService}.backup"
67 67
   %elif not %%is_empty(%%vrrp.kNotify)
68 68
   	notify "%%vrrp.kNotify"
69
+	notify_stop "%%vrrp.kNotify BACKUP BACKUP BACKUP"
69 70
   %end if
70 71
 }
71 72
 %end for

Loading…
Cancel
Save