Speed updatabase generation. Generate and use a certificate by default.

This commit is contained in:
Storm Dragon
2025-12-12 22:34:11 -05:00
parent 8ededf6408
commit c310a1c318
9 changed files with 246 additions and 140 deletions
+2 -1
View File
@@ -101,7 +101,8 @@ class MumbleBot:
if args.certificate:
certificate = args.certificate
else:
certificate = util.solve_filepath(var.config.get("server", "certificate"))
# Get configured cert or auto-generate one if needed
certificate = util.get_or_create_certificate(var.config.get("server", "certificate"))
if args.tokens:
tokens = args.tokens