daemon_cmd
daemon_cmd
¶
jarvis start|stop|restart|status — daemon management commands.
Functions¶
record_server_state
¶
Register a running server so jarvis status can find it.
Called by jarvis serve itself, so a server supervised by launchd/systemd
(which never goes through jarvis start) is still reported as running.
Source code in src/openjarvis/cli/daemon_cmd.py
clear_server_state
¶
daemon
¶
start
¶
start(host: str | None, port: int | None, engine_key: str | None, model_name: str | None, agent_name: str | None) -> None
Start the OpenJarvis server as a background daemon.
Source code in src/openjarvis/cli/daemon_cmd.py
213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 | |
stop
¶
Stop the running OpenJarvis server daemon.
Source code in src/openjarvis/cli/daemon_cmd.py
restart
¶
Restart the OpenJarvis server daemon.
Source code in src/openjarvis/cli/daemon_cmd.py
status
¶
Show status of the OpenJarvis server daemon.