mirror of
https://github.com/basicswap/basicswap.git
synced 2024-12-23 11:59:36 +00:00
11 lines
258 B
Bash
Executable file
11 lines
258 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
if [[ "$1" == "litecoin-cli" || "$1" == "litecoin-tx" || "$1" == "litecoind" || "$1" == "test_litecoin" ]]; then
|
|
mkdir -p "$LITECOIN_DATA"
|
|
|
|
chown -h litecoin:litecoin /home/litecoin/.litecoin
|
|
exec gosu litecoin "$@"
|
|
else
|
|
exec "$@"
|
|
fi
|