Files
pubky-docker/homeserver.entrypoint.sh
2025-08-07 22:11:15 +09:00

8 lines
200 B
Bash
Executable File

#!/bin/sh
# Check the NETWORK environment variable and execute the appropriate command
if [ "$NETWORK" = "mainnet" ]; then
exec homeserver
else
exec homeserver --homeserver-config=/config.toml
fi