From 8999bc9112035fa8eabb1dc2df130f15955c4163 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Mon, 31 Jan 2022 13:45:10 +0100 Subject: [PATCH] --name is deprecated in favor of --username --- start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.sh b/start.sh index 1823f8c..886fd79 100755 --- a/start.sh +++ b/start.sh @@ -28,7 +28,7 @@ setup_ldap_source() { setup_root_user() { set -eu - 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 + if sudo -H -u git /home/git/gitea/gitea admin user create --username 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"