mirror of
https://github.com/basicswap/basicswap.git
synced 2024-12-23 03:49:25 +00:00
f65ae07cf9
Changed pivx-params location to PIVX datadir. Still need a way to set the Firo wallet seed.
11 lines
218 B
Bash
Executable file
11 lines
218 B
Bash
Executable file
#!/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
|