如何重启或关闭服务?
一旦使用Omnibus包安装之后,实际上等于集成了命令控制台。常见命令包括:
Note that on a single-core server it may take up to a minute to restart Unicorn and Sidekiq. Your GitLab instance will give a 502 error until Unicorn is up again.
It is also possible to start, stop or restart individual components.
Unicorn supports zero-downtime reloads. These can be triggered as follows:
Note that you cannot use a Unicorn reload to update the Ruby runtime.
更多命令:https://docs.gitlab.com/omnibus/maintenance/README.html#starting-and-stopping
Last updated