11 lines
202 B
Bash
Executable File
11 lines
202 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if test -n "$1"; then
|
|
# need -R not -r to copy hidden files
|
|
cp -R "$1/.wasmd" /root
|
|
cp -R "$1/.wasmcli" /root
|
|
fi
|
|
|
|
mkdir -p /root/log
|
|
wasmd start --rpc.laddr tcp://0.0.0.0:26657
|