Host-customized fork of https://github.com/tecnovert/basicswap/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
248 B
12 lines
248 B
4 years ago
|
#!/bin/bash
|
||
|
set -e
|
||
|
|
||
|
if [[ "$1" == "particl-cli" || "$1" == "particl-tx" || "$1" == "particld" || "$1" == "test_particl" ]]; then
|
||
|
mkdir -p "$PARTICL_DATA"
|
||
|
|
||
|
chown -h particl:particl /home/particl/.particl
|
||
|
exec gosu particl "$@"
|
||
|
else
|
||
|
exec "$@"
|
||
|
fi
|