From ba3475a02cd8f1829c6736f510ca2bc32781a523 Mon Sep 17 00:00:00 2001 From: DevTekVE Date: Tue, 11 Jun 2024 09:32:15 +0200 Subject: [PATCH] Add 'sunnylink_uploader.py' to temporary blacklist We are temporarily blacklisting 'sunnylink_uploader.py' by adding it under 'sunnypilot_blacklist' in 'release/release_files.py' until it's ready for widespread roll-out. Alongside, the existing path in 'system/manager/process_config.py' has been updated to reflect the correct location of 'sunnylink_uploader.py'. This will ensure the processes are correctly managed based on its existence. --- release/release_files.py | 1 + system/manager/process_config.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/release/release_files.py b/release/release_files.py index 74ef64933f..07fb41106b 100755 --- a/release/release_files.py +++ b/release/release_files.py @@ -37,6 +37,7 @@ blacklist = [ sunnypilot_blacklist = [ ".idea/", ".run/", + "system/loggerd/sunnylink_uploader.py", # Temporarily, until we are ready to roll it out widely ] # Merge the blacklists diff --git a/system/manager/process_config.py b/system/manager/process_config.py index deeb75791d..748e149955 100644 --- a/system/manager/process_config.py +++ b/system/manager/process_config.py @@ -109,7 +109,7 @@ if Params().get_bool("SunnylinkEnabled"): procs += [ DaemonProcess("manage_sunnylinkd", "system.athena.manage_sunnylinkd", "SunnylinkdPid"), ] - if os.path.exists("../../system/loggerd/sunnylink_uploader.py"): + if os.path.exists("../loggerd/sunnylink_uploader.py"): procs += [ PythonProcess("sunnylink_uploader", "system.loggerd.sunnylink_uploader", always_run), ]