MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / _daemon_is_running

Function _daemon_is_running

main.py:79–85  ·  view source on GitHub ↗

Check if the daemon is running (PID file check).

()

Source from the content-addressed store, hash-verified

77 config.MODEL_CONFIG["n_ctx"] = args.ctx
78
79def _daemon_is_running() -> bool:
80 """Check if the daemon is running (PID file check)."""
81 try:
82 from core.daemon import check_pid_file
83 return check_pid_file()
84 except Exception:
85 return False
86
87
88def shutdown():

Callers 1

shutdownFunction · 0.85

Calls 1

check_pid_fileFunction · 0.90

Tested by

no test coverage detected