Start
Starts the TuringDB server. This is the default command, runningturingdb without a subcommand is equivalent to turingdb start.
Options
| Flag | Description | Default |
|---|---|---|
-demon | Run TuringDB as a background daemon | off |
-p <port> | HTTP server listen port | 6666 |
-i <addr> | HTTP server listen address | 127.0.0.1 |
-turing-dir <path> | Root Turing home directory | ~/.turing |
-load <graph> | Load a graph at startup (can be repeated) | |
-in-memory | Run without writing graphs to disk | off |
-reset-default | Delete the default graph before starting | off |
-ui | Launch the built-in visualizer proxy | off |
-ui-port <port> | Visualizer proxy port | 8080 |
-start-timeout <ms> | Time to wait for daemon readiness | 500 |
Examples
Interactive mode (default):Stop
Gracefully stops a TuringDB instance running as a daemon. It sends a stop signal through the Unix socket and waits for the process to shut down gracefully.Options
| Flag | Description | Default |
|---|---|---|
-turing-dir <path> | Root Turing directory of the instance to stop | ~/.turing |
-timeout <ms> / -t <ms> | Time to wait for the process to release its lock | 3000 |

