mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
Fix addcoin decred.
This commit is contained in:
11
docker/production/decred_wallet/entrypoint.sh
Executable file
11
docker/production/decred_wallet/entrypoint.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
if [[ "$1" == "dcrctl" || "$1" == "dcrd" || "$1" == "dcrwallet" ]]; then
|
||||
mkdir -p "$DECRED_DATA"
|
||||
|
||||
chown -h decred:decred /home/decred/decred
|
||||
exec gosu decred "$@"
|
||||
else
|
||||
exec "$@"
|
||||
fi
|
||||
Reference in New Issue
Block a user