basicswap/docker/production/monero_daemon/entrypoint.sh

12 lines
166 B
Bash
Raw Normal View History

2020-12-27 19:39:10 +00:00
#!/bin/bash
set -e
if [[ "$1" == "monerod" ]]; then
mkdir -p "$MONERO_DATA"
chown -h monero:monero /home/monero/.monero
exec gosu monero "$@"
else
exec "$@"
fi