mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 12:49:23 +00:00
Updates our scripts to pass. Achieves POSIX compliance for `increase_default_stack_size.sh` via replacing `hexdump` with `od` and `tr`. Replaces the non-POSIX `dd status=none` with the POSIX `dd 2> /dev/null`.
13 lines
361 B
Bash
Executable File
13 lines
361 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
RPC_USER="${RPC_USER:=serai}"
|
|
RPC_PASS="${RPC_PASS:=seraidex}"
|
|
|
|
# Run Monero
|
|
monerod --non-interactive --regtest --offline --fixed-difficulty=1 \
|
|
--no-zmq --rpc-bind-ip=0.0.0.0 --rpc-bind-port=18081 --confirm-external-bind \
|
|
--rpc-access-control-origins "*" --disable-rpc-ban \
|
|
--rpc-login="$RPC_USER":"$RPC_PASS" --log-level 2 \
|
|
"$@"
|