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.
 
 
 
 
 
 

11 lines
258 B

#!/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