mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 02:38:11 +01:00
preparescript: Support production docker config.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
if [[ "$1" == "monerod" ]]; then
|
||||
if [[ "$1" == "monero-wallet-rpc" ]]; then
|
||||
mkdir -p "$MONERO_DATA"
|
||||
|
||||
chown -h monero:monero /home/monero/.monero
|
||||
exec gosu monero "$@"
|
||||
chown -h monero_wallet:monero_wallet /data
|
||||
exec gosu monero_wallet "$@"
|
||||
else
|
||||
exec "$@"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user