diff --git a/server/plugins-available/xmpp_plugin.inc.php b/server/plugins-available/xmpp_plugin.inc.php
index 1b177e7f0f5d51e9a07f47f70e24c6d7d9545447..312a2a9945a2fef0b861398350c7265dc5618992 100644
--- a/server/plugins-available/xmpp_plugin.inc.php
+++ b/server/plugins-available/xmpp_plugin.inc.php
@@ -113,6 +113,7 @@ class xmpp_plugin {
         $app->system->file_put_contents($this->xmpp_config_dir.'/global.cfg.lua', $tpl->grab());
         unset($tpl);
 
+        $app->services->restartServiceDelayed('metronome', 'restart');
         return;
     }
 
@@ -205,6 +206,8 @@ class xmpp_plugin {
             $app->system->file_put_contents($this->xmpp_config_dir.'/status/'.$data['new']['domain'].'.cfg.lua', $tpl->grab());
             unset($tpl);
         }
+
+        $app->services->restartServiceDelayed('metronome', 'restart');
     }
 
     function domainDelete($event_name, $data){