-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Caspar Oostendorp
committed
May 27, 2024
1 parent
9693565
commit 3238836
Showing
6 changed files
with
52 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.3.13 | ||
0.3.14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/bash | ||
|
||
echo "World address: $WORLD_ADDRESS" | ||
echo "Server port: $SERVER_PORT" | ||
|
||
source /root/.bashrc | ||
|
||
# Not sure if this helps on MacOs to wait for disk mount? | ||
sleep 2 | ||
|
||
if [ ! -f "$GENESIS" ]; then | ||
mkdir -p $LOG_DIR | ||
touch $KATANA_LOG && touch $TORII_LOG | ||
unzip $KATANA_DB_ZIP -d $STORAGE_DIR | ||
unzip $TORII_DB_ZIP -d $STORAGE_DIR | ||
|
||
cp "$STORAGE_INIT_DIR/genesis.json" $GENESIS | ||
|
||
fi | ||
|
||
supervisord -c /pixelaw/supervisord.conf | ||
|
||
echo "ready" | ||
|
||
# If there is no param, wait. Otherwise, it's a devcontainer that will take control. | ||
if [ -z "$1" ]; then | ||
wait | ||
fi | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.