From a4f4acaa55c5581d2c8166a64a56bb871736b3d9 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 8 Apr 2024 09:29:58 +0200 Subject: util.startup: Fix notifying config-reload to systemd Does this event name seem backwards to anyone else? --- util/startup.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3