先 cd到gitlab的安装目录/var/opt/gitlab
gitlab-ctl reconfigure重新配置一下
gitlab-ctl restart 重新启动服务
本文介绍了如何通过命令行操作来重新配置并重启 GitLab 服务。具体步骤包括:首先切换到 GitLab 的安装目录 /var/opt/gitlab,然后使用 gitlab-ctl reconfigure 进行重新配置,最后使用 gitlab-ctl restart 完成服务重启。
先 cd到gitlab的安装目录/var/opt/gitlab
gitlab-ctl reconfigure重新配置一下
gitlab-ctl restart 重新启动服务
3758
1192