#!/bin/bash #Start cron service (Debian) service cron start # Wait for the database to be ready ./migrate -source file://migrations/ -database "$DATABASE_URL" up # Run the API ./dist/api