Skip to content

Commit

Permalink
Merge pull request #202 from AllStarLink/192_fix_sec_usr1
Browse files Browse the repository at this point in the history
properly reload deb in USR1 handler fix #192
  • Loading branch information
jxmx committed Dec 22, 2023
2 parents 75a854f + 2600fc2 commit c03a901
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/allmon3
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ def sigusr1_handler(_signo, _stack_frame):
full_menu += f"{menu_string} ,"
full_menu = re.sub(r",$", "]", full_menu)
web_configuration.menu = full_menu
server_security = security.Security(web_configuration.user_table,
web_configuration.restrictions_table)
server_security.reload_db()
log.info("reloaded node, web, menu, and sercurity configs")

except Exception as e:
Expand Down

0 comments on commit c03a901

Please sign in to comment.