jabogram/server/scripts/show-commands.sh
2026-02-28 01:13:14 +03:00

11 lines
265 B
Bash

#!/bin/bash
SNIKKET_DOMAIN=$(grep ^SNIKKET_DOMAIN= snikket.conf | cut -d= -f2)
if [[ -z "$SNIKKET_DOMAIN" ]]; then
echo "Failed to read SNIKKET_DOMAIN from snikket.conf, unable to continue";
exit 1;
fi
exec docker exec -it snikket prosodyctl shell help invite