openhome

CLI Reference

The installer drops an openhome command in ~/.local/bin. If it's not on

your PATH, add:

export PATH="$HOME/.local/bin:$PATH"

Commands

CommandWhat it does
openhome startStart the hub (systemd user service, or the fallback launcher).
openhome stopStop the hub.
openhome restartRestart — use after editing config or updating.
openhome logsFollow the hub logs (journalctl --user -u openhome-hub -f).
openhome editOpen the keys file ~/.openhome/openhome.env in $EDITOR.
openhome runRun the hub in the foreground (handy for debugging).

With no argument it prints usage and the config path.

Under the hood

history — crash‑safe JSON with .bak mirrors)

Raw systemd

systemctl --user status  openhome-hub
systemctl --user restart openhome-hub
systemctl --user enable  openhome-hub      # start on boot
loginctl enable-linger $USER               # keep it running after logout
journalctl --user -u openhome-hub -f       # logs

Running without systemd

If there's no user systemd session, run it directly:

~/.openhome/run-hub.sh        # or: openhome run

Next: Updating · Troubleshooting