fix(core): keep launchd service logs outside protected Downloads
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user