This commit is contained in:
ryuuseijin 2026-08-17 22:47:22 +08:00
commit 27c4191be8
17 changed files with 730 additions and 0 deletions

13
bin/start-services.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/sh
set -eu
if [ -n "${DEBUGDEPLOY:-}" ]; then
printf 'DEBUGDEPLOY is set; skipping startup and waiting indefinitely.\n' >&2
exec sleep infinity
fi
/usr/local/bin/prepare-caddy.sh
/usr/local/bin/prepare-forgejo.sh
/usr/local/bin/initialize-forgejo.sh
exec /usr/local/bin/hivemind /etc/Procfile