#!/usr/bin/bash

# Display commands, exit on error and enable job control
set -xem

gitea web &
until curl --fail --head http://localhost:3000
do
  sleep 1
done
systemd-notify --ready
fg %1
