Disable notifications in daemon mode

This commit is contained in:
Mark Qvist 2024-03-27 18:41:04 +01:00
parent 6700b7f8b7
commit 72e11fd859
2 changed files with 18 additions and 16 deletions

View file

@ -4967,7 +4967,7 @@ if not args.daemon:
def run():
if args.daemon:
RNS.log("Starting Sideband in daemon mode")
sideband = SidebandCore(None, is_client=False, verbose=(args.verbose or __debug_build__))
sideband = SidebandCore(None, is_client=False, verbose=(args.verbose or __debug_build__), is_daemon=True)
sideband.start()
while True:
time.sleep(5)