aboutsummaryrefslogtreecommitdiffstats
path: root/util/startup.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/startup.lua')
-rw-r--r--util/startup.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/startup.lua b/util/startup.lua
index a627f11c..507c0528 100644
--- a/util/startup.lua
+++ b/util/startup.lua
@@ -831,7 +831,7 @@ function startup.systemd_notify()
prosody.events.add_handler("server-started", function()
notify_socket:send("READY=1");
end);
- prosody.events.add_handler("config-reloading", function()
+ prosody.events.add_handler("reloading-config", function()
notify_socket:send(string.format("RELOADING=1\nMONOTONIC_USEC=%d", math.floor(time.monotonic() * 1000000)));
end);
prosody.events.add_handler("config-reloaded", function()