Change bootstrap api user
- from `pybitmessage` to `api``
This commit is contained in:
parent
17d1e901c0
commit
664e57db37
|
@ -8,7 +8,6 @@ if [ ! -e .env ]; then
|
||||||
PASSWORD=$(tr -dc a-zA-Z0-9 < /dev/urandom | head -c32 && echo)
|
PASSWORD=$(tr -dc a-zA-Z0-9 < /dev/urandom | head -c32 && echo)
|
||||||
cat > .env << EOF
|
cat > .env << EOF
|
||||||
THREADS=$THREADS
|
THREADS=$THREADS
|
||||||
USER=pybitmessage
|
|
||||||
PASSWORD=$PASSWORD
|
PASSWORD=$PASSWORD
|
||||||
EOF
|
EOF
|
||||||
else
|
else
|
||||||
|
@ -38,7 +37,7 @@ for i in `seq 1 $THREADS`; do
|
||||||
<URL "http://$IP:8442/">
|
<URL "http://$IP:8442/">
|
||||||
Plugin "pybitmessagestatus"
|
Plugin "pybitmessagestatus"
|
||||||
Instance "$INSTANCE"
|
Instance "$INSTANCE"
|
||||||
User "pybitmessage"
|
User "api"
|
||||||
Password "$PASSWORD"
|
Password "$PASSWORD"
|
||||||
Post "{\"jsonrpc\":\"2.0\",\"id\":\"id\",\"method\":\"clientStatus\",\"params\":[]}"
|
Post "{\"jsonrpc\":\"2.0\",\"id\":\"id\",\"method\":\"clientStatus\",\"params\":[]}"
|
||||||
<Key "result/networkConnections">
|
<Key "result/networkConnections">
|
||||||
|
|
Reference in New Issue
Block a user