diff --git a/src/app/startup.sh b/src/app/startup.sh index e835d0a..5cf42d9 100755 --- a/src/app/startup.sh +++ b/src/app/startup.sh @@ -57,7 +57,7 @@ PSQL="psql -q -h $TTRSS_DB_HOST -U $TTRSS_DB_USER $TTRSS_DB_NAME" $PSQL -c "create extension if not exists pg_trgm" -RESTORE_SCHEMA=/var/www/html/tt-rss/backups/restore-schema.sql.gz +RESTORE_SCHEMA=${SCRIPT_ROOT}/restore-schema.sql.gz if [ -r $RESTORE_SCHEMA ]; then zcat $RESTORE_SCHEMA | $PSQL