mirror of
https://github.com/basicswap/basicswap.git
synced 2024-12-25 04:49:41 +00:00
12 lines
166 B
Bash
12 lines
166 B
Bash
|
#!/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
|