aboutsummaryrefslogtreecommitdiffstats
path: root/util/startup.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2024-04-08 09:29:58 +0200
committerKim Alvefur <zash@zash.se>2024-04-08 09:29:58 +0200
commita4f4acaa55c5581d2c8166a64a56bb871736b3d9 (patch)
tree75e53f7606f444b7baf2020f3558bf941eddd582 /util/startup.lua
parent269d40f1eaa5e9a9042d77fbf9418509a87023d3 (diff)
downloadprosody-a4f4acaa55c5581d2c8166a64a56bb871736b3d9.tar.gz
prosody-a4f4acaa55c5581d2c8166a64a56bb871736b3d9.zip
util.startup: Fix notifying config-reload to systemd
Does this event name seem backwards to anyone else?
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()