从二进制安装不支持root运行的问题

centos 7.9 环境下从二进制安装,gitea无法正常使用root启动

# ./gitea web
2022/07/27 12:28:33 cmd/web.go:102:runWeb() [I] Starting Gitea on PID: 42618
2022/07/27 12:28:33 ...s/setting/setting.go:965:loadFromConf() [F] Gitea is not supposed to be run as root. Sorry. If you need to use privileged TCP ports please instead use setcap and the `cap_net_bind_service` permission
//不能用root账号直接运行gitea,新建git账号
groupadd git
useradd git -g git
chmod +x gitea
cd ../
chown -R git:git ./gitea
su git
./gitea web