Skip to main content

Start

Starts the TuringDB server. This is the default command, running turingdb without a subcommand is equivalent to turingdb start.
turingdb start [options]

Options

FlagDescriptionDefault
-demonRun TuringDB as a background daemonoff
-p <port>HTTP server listen port6666
-i <addr>HTTP server listen address127.0.0.1
-turing-dir <path>Root Turing home directory~/.turing
-load <graph>Load a graph at startup (can be repeated)
-in-memoryRun without writing graphs to diskoff
-reset-defaultDelete the default graph before startingoff
-uiLaunch the built-in visualizer proxyoff
-ui-port <port>Visualizer proxy port8080
-start-timeout <ms>Time to wait for daemon readiness500

Examples

Interactive mode (default):
turingdb
Daemon mode on a custom port:
turingdb start -demon -p 7777
Daemon mode with the visualizer:
turingdb -demon -ui
Load a graph at startup:
turingdb -load mygraph

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.
turingdb stop [options]

Options

FlagDescriptionDefault
-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 lock3000

Examples

Stop the default instance:
turingdb stop
Stop an instance running in a custom directory:
turingdb stop -turing-dir /data/myturing