basicswap/docker/production/wownero_wallet/entrypoint.sh
2024-06-06 22:04:26 +02:00

11 lines
187 B
Bash
Executable file

#!/bin/bash
set -e
if [[ "$1" == "wownero-wallet-rpc" ]]; then
mkdir -p "$WOWNERO_DATA"
chown -h wownero_wallet:wownero_wallet /data
exec gosu wownero_wallet "$@"
else
exec "$@"
fi