From 2637ef1b4b8cd2c6590118fb0e8456a6de339952 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Mon, 12 Apr 2021 18:35:50 +0200 Subject: [PATCH] CLI command has changed subcommand style --- start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.sh b/start.sh index 2c80996..6e4cec1 100755 --- a/start.sh +++ b/start.sh @@ -26,7 +26,7 @@ setup_ldap_source() { setup_root_user() { 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" else echo "==> Failed to add root user"