mirror of
https://github.com/basicswap/basicswap.git
synced 2024-12-23 03:49:25 +00:00
11 lines
166 B
Bash
Executable file
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
|