Add warning if listen_port changes
This commit is contained in:
@@ -58,6 +58,8 @@ sig_sesman_reload_cfg(void)
|
|||||||
{
|
{
|
||||||
LOG(LOG_LEVEL_INFO, "sesman listen port changed to %s",
|
LOG(LOG_LEVEL_INFO, "sesman listen port changed to %s",
|
||||||
cfg->listen_port);
|
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
|
/* We have to delete the old port before listening to the new one
|
||||||
* in case they overlap in scope */
|
* in case they overlap in scope */
|
||||||
|
|||||||
Reference in New Issue
Block a user