mirror of
https://github.com/basicswap/basicswap.git
synced 2024-12-22 19:49:20 +00:00
11 lines
248 B
Bash
Executable file
11 lines
248 B
Bash
Executable file
#!/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
|