From 8bc6c378a89bef113097be07b4a7ae58ed1b820c Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Fri, 29 Sep 2023 21:22:36 +0800 Subject: [PATCH] doc --- README.md | 4 ++++ startup_script.sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 363b576..a24e9f8 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,10 @@ go build . See [./environments/example.toml](./environments/example.toml) for an annotated example config file. +> **Note:** previous versions of this service used different variable names. To update, change the following: +> * `LVLDB_MODE`, `LVLDB_PATH`, `LVLDB_ANCIENT`, `LVLDB_URL` => `LEVELDB_*` +> * `LOG_FILE_PATH` => `LOG_FILE` + ### Local Setup * Create a chain config file `chain.json` according to chain config in genesis json file used by local geth. diff --git a/startup_script.sh b/startup_script.sh index 3f5f92e..7b216d1 100755 --- a/startup_script.sh +++ b/startup_script.sh @@ -10,8 +10,8 @@ fi # Check the database variables are set test "$VDB_COMMAND" -# docker must be run in privilaged mode for mounts to work -echo "Setting up /app/geth-rw overlayed /app/geth-ro" +# docker must be run in privileged mode for mounts to work +echo "Setting up /app/geth-rw overlayed onto /app/geth-ro" mkdir -p /tmp/overlay mount -t tmpfs tmpfs /tmp/overlay mkdir -p /tmp/overlay/upper