diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index b30ea8f1..b5bc071b 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -2850,6 +2850,9 @@ class Machine(BaseClasseCrans): if 'exempt' in self.modifs or ('ipHostNumber' in self.modifs and self.exempt()): self.services_to_restart('surveillance_exemptions') + if 'exempt' in self.modifs: + self.services_to_restart('mail_modif', ['ip=%s' % self.ip()]) + # Synchronisation avec la base pgsql pour la liste des machines if 'ipHostNumber' in self.modifs: self.services_to_restart('surveillance_machines')