Software /
code /
prosody
Changeset
13477:e8ac3ce3238e
util.startup: Fix notifying config-reload to systemd
Does this event name seem backwards to anyone else?
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 08 Apr 2024 09:29:58 +0200 |
parents | 13476:b9267ce1b183 |
children | 13478:fe7557cf31a6 |
files | util/startup.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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()