# HG changeset patch # User Kim Alvefur # Date 1712561398 -7200 # Node ID e8ac3ce3238e5570230f0763b8ee542fc57d5704 # Parent b9267ce1b18398dc1ba25be5b0e7a755ab59a9d2 util.startup: Fix notifying config-reload to systemd Does this event name seem backwards to anyone else? diff -r b9267ce1b183 -r e8ac3ce3238e util/startup.lua --- a/util/startup.lua Sun Apr 07 18:36:00 2024 +0200 +++ b/util/startup.lua Mon Apr 08 09:29:58 2024 +0200 @@ -831,7 +831,7 @@ 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()