Commit 7134bd2e authored by Amy Qualls's avatar Amy Qualls

Merge branch 'jpb-doc-correct-vale-issues' into 'master'

Fix vale issues (read only & commit_template)

See merge request gitlab-org/gitlab!75732
parents f815bc71 8db0d7ae
...@@ -16,7 +16,7 @@ The configuration for doing so depends on your desired outcome. ...@@ -16,7 +16,7 @@ The configuration for doing so depends on your desired outcome.
## Make the repositories read-only ## Make the repositories read-only
The first thing you'll want to accomplish is to ensure that no changes can be The first thing you want to accomplish is to ensure that no changes can be
made to your repositories. There's two ways you can accomplish that: made to your repositories. There's two ways you can accomplish that:
- Either stop Puma to make the internal API unreachable: - Either stop Puma to make the internal API unreachable:
...@@ -46,7 +46,7 @@ made to your repositories. There's two ways you can accomplish that: ...@@ -46,7 +46,7 @@ made to your repositories. There's two ways you can accomplish that:
## Shut down the GitLab UI ## Shut down the GitLab UI
If you don't mind shutting down the GitLab UI, then the easiest approach is to If you don't mind shutting down the GitLab UI, then the easiest approach is to
stop `sidekiq` and `puma`, and you'll effectively ensure that no stop `sidekiq` and `puma`, and you effectively ensure that no
changes can be made to GitLab: changes can be made to GitLab:
```shell ```shell
...@@ -63,7 +63,7 @@ sudo gitlab-ctl start puma ...@@ -63,7 +63,7 @@ sudo gitlab-ctl start puma
## Make the database read-only ## Make the database read-only
If you want to allow users to use the GitLab UI, then you'll need to ensure that If you want to allow users to use the GitLab UI, then you need to ensure that
the database is read-only: the database is read-only:
1. Take a [GitLab backup](../raketasks/backup_restore.md) 1. Take a [GitLab backup](../raketasks/backup_restore.md)
...@@ -113,7 +113,7 @@ the database is read-only: ...@@ -113,7 +113,7 @@ the database is read-only:
sudo gitlab-ctl restart postgresql sudo gitlab-ctl restart postgresql
``` ```
When you're ready to revert the read-only state, you'll need to remove the added When you're ready to revert the read-only state, you need to remove the added
lines in `/etc/gitlab/gitlab.rb`, and reconfigure GitLab and restart PostgreSQL: lines in `/etc/gitlab/gitlab.rb`, and reconfigure GitLab and restart PostgreSQL:
```shell ```shell
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment