Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

fix(host): scope Unix service names to supported platforms

leepokai41da8e44430b
diff --git a/host/src/environment.rs b/host/src/environment.rs
index bba9bc06..74bdb10f 100644
--- a/host/src/environment.rs
+++ b/host/src/environment.rs
@@ -38,6 +38,7 @@ impl Environment {
}
}
+ #[cfg(any(unix, test))]
pub const fn service_label(self) -> &'static str {
match self {
Self::Main => "com.pokai.codync.host",
@@ -45,6 +46,7 @@ impl Environment {
}
}
+ #[cfg(any(unix, test))]
pub const fn systemd_unit(self) -> &'static str {
match self {
Self::Main => "codync-host.service",