Something went wrong. Try again.
An experimental IndieWeb site built in Go.
Something went wrong. Try again.
12345678910111213141516#!/bin/bashset -e
echo "Starting script"
# Restore the database if it does not already exist.if [ -f /data/data.db ]; then echo "Database already exists, skipping restore"else echo "No database found, restoring from replica if exists" litestream restore -if-replica-exists /data/data.dbfi
# Run litestream with your app as the subprocess.exec litestream replicate -exec "/space"