mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-17 22:24:34 +08:00
bind api_host to 0.0.0.0
This commit is contained in:
@@ -19,6 +19,7 @@ if ! [ -f "$STATE_DIR/blockstack-server.db" ]; then
|
||||
# no state yet
|
||||
# TODO: remove arguments once in master
|
||||
blockstack-core --debug fast_sync http://testnet.blockstack.org/snapshot.bsk 04874e5e95e9da7662de351c967c1edcaccf902536cbb0d4e00e6d22038034628700ae6b360c2cf10c3c834863c9c98f33e9bd07fc0c349e7c14f07f8b0e5a7421
|
||||
sed -i -e 's/api_host = localhost/api_host = 0.0.0.0/' "$STATE_DIR/blockstack-server.ini"
|
||||
fi
|
||||
|
||||
# start daemon and wait forever
|
||||
|
||||
Reference in New Issue
Block a user