mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
Start isolated docker setup.
This commit is contained in:
11
docker/production/litecoin/entrypoint.sh
Executable file
11
docker/production/litecoin/entrypoint.sh
Executable 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
|
||||
Reference in New Issue
Block a user