fix(mcp,db,systemd,logrotate): move telemetry DB to /var/lib/hyperstitionstud.io/api-telemetry.db via StateDirectory=hyperstitionstud.io and catch sqlite3.Error (v2.0.22)
This commit is contained in:
1 parent
95a5fc8618
commit
9716a0ab61
24 files changed
+140
-84
No files matched your search
@@ -61,6 +61,8 @@ def run_diagnostics(workspace_root: str | Path | None = None) -> dict[str, Any]:
|
||||
lr_txt = lr_path.read_text(encoding="utf-8") if lr_path.is_file() else ""
|
||||
lr_ok = (
|
||||
lr_path.is_file()
|
||||
and "/var/lib/hyperstitionstud.io/api-telemetry.db" in lr_txt
|
||||
and "/tmp/" not in lr_txt
|
||||
and "size 100M" in lr_txt
|
||||
and "compress" in lr_txt
|
||||
and "nocompress" not in lr_txt
|
||||
|
||||
Reference in new issue
Block a user