CLI

Manage your OneSVD node with the onesvd command.

The installer drops an onesvd command onto your PATH. It's how you control the node after install — install.sh itself is just the one-time bootstrap that builds everything and hands off to onesvd up.

Commands#

CommandWhat it does
onesvd upBuild if needed, then install and start the services. The installer runs this for you.
onesvd start / stop / restartControl the running services.
onesvd statusShow service status and the watched directory.
onesvd logsFollow the logs for all three services.
onesvd buildRebuild the watcher, hub, and web client.
onesvd dir [PATH]Show the watched directory, or set it.
onesvd configPrint the current configuration.
onesvd config get <key>Print one config value.
onesvd config set <key> <value>Change a config value.
onesvd uninstallStop and remove the services. Config and data are kept.
onesvd versionPrint the version.
onesvd helpList every command.

Examples#

shell
# point the watcher at a different directory
onesvd dir ~/projects/releases

# change the web UI port
onesvd config set frontend_port 8080

# see what's running and where it's watching
onesvd status

# follow the logs
onesvd logs

Config keys#

onesvd config reads and writes ~/.config/onesvd/config.yml. The keys:

KeyDefaultWhat it does
watch_dir(chosen at install)The directory the watcher fingerprints.
hub_port4000Hub WebSocket + HTTP port.
ingest_port4001Loopback port the watcher publishes to.
frontend_port7777Web client port.
frontend_modeprodprod serves the production build; dev runs the dev server.
Note:

Changing the watched directory or a port with onesvd dir / onesvd config set rewrites the systemd units and restarts the services automatically when they're running — no separate restart needed.

Where things live#

PathWhat
~/.local/bin/onesvdThe command (a symlink).
~/.local/share/onesvd/Source checkout and built binaries.
~/.config/onesvd/config.ymlYour configuration.