basicswap/docker/production/firo/entrypoint.sh
tecnovert f65ae07cf9
docker: Add PIVX, Dash and Firo to isolated config
Changed pivx-params location to PIVX datadir.

Still need a way to set the Firo wallet seed.
2022-11-09 19:10:17 +02:00

11 lines
218 B
Bash
Executable file

#!/bin/bash
set -e
if [[ "$1" == "firo-cli" || "$1" == "firo-tx" || "$1" == "firod" || "$1" == "test_firo" ]]; then
mkdir -p "$FIRO_DATA"
chown -h firo:firo /home/firo/.firo
exec gosu firo "$@"
else
exec "$@"
fi