mirror of
https://github.com/sstent/containers.git
synced 2025-12-06 08:01:51 +00:00
add no litestream option
This commit is contained in:
@@ -29,7 +29,7 @@ if [ "$NOMAD_TASK_NAME" == "init" ]; then
|
||||
rm -rf /config/database.sqlite
|
||||
|
||||
if [[ -f /local/litestream.yml ]]; then
|
||||
|
||||
echo "LITESTREAM DETECTED"
|
||||
echo "Starting DB Restore"
|
||||
if /usr/local/bin/litestream restore -config /local/litestream.yml /config/${DB_NAME}; then
|
||||
echo "Restore of ${DB_NAME} Succeeded: "
|
||||
|
||||
Reference in New Issue
Block a user