From 7fb1f4732bae59041cafb9dfdac4fd6d627d311c Mon Sep 17 00:00:00 2001 From: matt335672 <30179339+matt335672@users.noreply.github.com> Date: Thu, 28 Nov 2024 15:55:37 +0000 Subject: [PATCH] Add warning if listen_port changes --- sesman/sig.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sesman/sig.c b/sesman/sig.c index 8cdd508a..c7151d8e 100644 --- a/sesman/sig.c +++ b/sesman/sig.c @@ -58,6 +58,8 @@ sig_sesman_reload_cfg(void) { LOG(LOG_LEVEL_INFO, "sesman listen port changed to %s", cfg->listen_port); + LOG(LOG_LEVEL_WARNING, + "Restarting sesman will now lose active sessions"); /* We have to delete the old port before listening to the new one * in case they overlap in scope */