--- lbbs/src/net_server.c 2025/05/25 06:55:23 1.39 +++ lbbs/src/net_server.c 2025/05/27 03:25:02 1.42 @@ -25,6 +25,7 @@ #include "fork.h" #include "menu.h" #include "file_loader.h" +#include "section_list_loader.h" #include #include #include @@ -214,6 +215,16 @@ int net_server(const char *hostaddr, in_ sd_notify(0, "READY=1"); } + if (SYS_section_list_reload && !SYS_server_exit) + { + SYS_section_list_reload = 0; + + if (section_list_loader_reload() < 0) + { + log_error("ksection_list_loader_reload() failed\n"); + } + } + nfds = epoll_wait(epollfd, events, MAX_EVENTS, 100); // 0.1 second if (nfds < 0)