forked from cloudron-apps/gitea-app
CLI command has changed subcommand style
This commit is contained in:
parent
0bea878d12
commit
2637ef1b4b
1 changed files with 1 additions and 1 deletions
2
start.sh
2
start.sh
|
@ -26,7 +26,7 @@ setup_ldap_source() {
|
||||||
setup_root_user() {
|
setup_root_user() {
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
if sudo -H -u git /home/git/gitea/gitea admin create-user --name root --password changeme --email test@cloudron.io --admin -c /run/gitea/app.ini; then
|
if sudo -H -u git /home/git/gitea/gitea admin user create --name root --password changeme --email test@cloudron.io --admin -c /run/gitea/app.ini; then
|
||||||
echo "==> root user added"
|
echo "==> root user added"
|
||||||
else
|
else
|
||||||
echo "==> Failed to add root user"
|
echo "==> Failed to add root user"
|
||||||
|
|
Loading…
Reference in a new issue