Fix addcoin decred.

This commit is contained in:
tecnovert
2024-05-30 12:46:59 +02:00
parent 5f6819afcb
commit ebdbe115dd
11 changed files with 141 additions and 16 deletions

View 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