常见需要修改的配置文件:
/etc/gitlab/gitlab.rb
/var/opt/gitlab/gitlab-rails/etc/gitlab.yml
常用命令:
# 重新应用gitlab的配置 sudo gitlab-ctl reconfigure
# 重启gitlab服务 sudo gitlab-ctl restart
# 查看gitlab运行状态 sudo gitlab-ctl status
# 停止gitlab服务 sudo gitlab-ctl stop
# 查看gitlab运行日志 sudo gitlab-ctl tail
# 停止相关数据连接服务 gitlab-ctl stop unicorn gitlab-ctl stop sidekiq