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

11 lines
173 B
Bash
Executable file

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