Created
May 5, 2022 15:05
-
-
Save serge-medvedev/7bc0606c78150f5b1eea5a7d525e8859 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #!/bin/bash | |
| RESTORE_DB=${RESTORE_DB:-false} | |
| jq ".restore_db = ${RESTORE_DB}" /mnt/node/config.json > /tmp/config.json | |
| mv /tmp/config.json /mnt/node/config.json |
Author
should probably add that when you grab the restore_db.sh one should make it executable:
chmod 775 restore_db.sh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Look for exact node config volume name via the command below (
jqmust be installed):