Only use pg_ctl for promoting PostgreSQL

Our new recovery.conf generation procedure doesn't create trigger files,
so we should only document pg_ctl usage.
parent 96c37acc
......@@ -77,12 +77,6 @@ To trigger a failover, run the following command on a **secondary**:
sudo -u gitlab-psql /opt/gitlab/embedded/bin/pg_ctl -D /var/opt/gitlab/postgresql/data promote
```
Alternatively you can also run the following:
```bash
sudo -u gitlab-psql touch /tmp/gitlab_replicator.trigger
```
This will promote the host these commands were executed on to the primary.
## Setting up Secondaries
......
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