8 lines
363 B
Bash
Executable File
8 lines
363 B
Bash
Executable File
#!/bin/bash
|
|
# The one real command line for the relay server (scripts/deploy-relay.sh runs
|
|
# it; run it at boot too). relay.env next to it, written by the deploy, says
|
|
# which address and port to listen on.
|
|
cd "$(dirname "$(readlink -f "$0")")" || exit 1
|
|
. ./relay.env
|
|
exec python3 bubble_relay.py --host "$RELAY_BIND" --port "${RELAY_PORT:-8080}" --data ../data
|