Start isolated docker setup.

This commit is contained in:
tecnovert
2020-12-27 21:39:10 +02:00
parent a6ead83fd2
commit d2ded157f8
20 changed files with 332 additions and 42 deletions

View File

@@ -0,0 +1,11 @@
#!/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