fix(core): keep launchd service logs outside protected Downloads

This commit is contained in:
DCCONSTRUCTIONS
2026-09-25 16:40:45 +03:00
parent 2e5d52521f
commit a7c64e009d
8 changed files with 230 additions and 2 deletions
@@ -10,6 +10,8 @@ from dataclasses import dataclass
from pathlib import Path
from typing import Final
from k1link.launchd_logs import launchd_log_path
OBSERVATORY_WORKER_TUNNEL_LABEL: Final = (
"com.nodedc.observatory-worker-tunnel.local"
)
@@ -64,7 +66,7 @@ def plan_observatory_worker_tunnel_launch_agent(
data_root = _private_directory(data_directory)
ssh = _exact_executable(ssh_path)
target_path = agent_path.expanduser().absolute()
log_path = data_root / "observatory-worker-tunnel.log"
log_path = launchd_log_path("observatory-worker-tunnel.log")
arguments = [
str(ssh),
"-o",