How to display maintenance mode notification on GitLab?

May 7, 2015 8.2k views
Linux Commands Nginx One-Click Install Apps Ubuntu

Hi, I’m using GitLab 7.10.1 CE on Ubuntu 14.04.
Already searched in some documentations, but I can’t find any method to display maintenance mode notification to user.

Anybody created custom script to enable this?

2 Answers

The closest thing that GitLab offers to this is displaying a static page during deploys. This can be initialed manually with:

  • gitlab-ctl deploy-page up

and taken down again with:

  • gitlab-ctl deploy-page down

It looks like:

deploy page

Have another answer? Share your knowledge.