mirror of
https://github.com/basicswap/basicswap.git
synced 2024-12-23 11:59:36 +00:00
12 lines
258 B
Bash
12 lines
258 B
Bash
|
#!/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
|