Running - Python

Application

To run the application, use the following command:

python -m systembridgebackend

No GUI / Headless

If you want to run the application without a GUI, you can use the following command:

python -m systembridgebackend --no-gui

Systemd Service

Here is an example systemd service. This runs as root, so you will need to have run the install commands as root for this to run.

[Unit]
Description=System Bridge
After=network.target

[Service]
ExecStart=/usr/bin/python3 -m systembridgebackend --no-gui
Restart=on-abort
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

CLI

To run the CLI, you can use the following command:

python -m systembridgecli --help

This command will show you all available commands. For more details, read the CLI page.

Token

To get the token for use in the API/WebSocket, you can use the following command:

python -m systembridgecli token

To reset your token, run this command:

python -m systembridgecli token --reset