13 lines
194 B
Bash
13 lines
194 B
Bash
#!/usr/bin/env 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
|