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.
This commit is contained in:
tecnovert
2022-11-09 19:10:17 +02:00
parent ae2ddc4049
commit f65ae07cf9
12 changed files with 208 additions and 14 deletions

View File

@@ -0,0 +1,11 @@
#!/bin/bash
set -e
if [[ "$1" == "pivx-cli" || "$1" == "pivx-tx" || "$1" == "pivxd" || "$1" == "test_pivx" ]]; then
mkdir -p "$PIVX_DATA"
chown -h pivx:pivx /home/pivx/.pivx
exec gosu pivx "$@"
else
exec "$@"
fi