basicswap/docker/production/monero_daemon/entrypoint.sh
2020-12-27 21:39:10 +02:00

11 lines
166 B
Bash
Executable file

#!/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