Add note about HA configurations

This commit is contained in:
James Ramsay 2018-04-12 21:10:07 +00:00
parent 4758db5af6
commit 47dc372303
1 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,10 @@ Follow the steps below to set up a custom hook:
For an installation from source the path is usually For an installation from source the path is usually
`/home/git/gitlab/plugins/`. For Omnibus installs the path is `/home/git/gitlab/plugins/`. For Omnibus installs the path is
usually `/opt/gitlab/embedded/service/gitlab-rails/plugins`. usually `/opt/gitlab/embedded/service/gitlab-rails/plugins`.
For [high availability] configurations, your hook file should be exist
on each application server.
1. Inside the `plugins` directory, create a file with a name of your choice, 1. Inside the `plugins` directory, create a file with a name of your choice,
without spaces or special characters. without spaces or special characters.
1. Make the hook file executable and make sure it's owned by the git user. 1. Make the hook file executable and make sure it's owned by the git user.
@ -78,3 +82,4 @@ Validating plugins from /plugins directory
[system hooks]: ../system_hooks/system_hooks.md [system hooks]: ../system_hooks/system_hooks.md
[webhooks]: ../user/project/integrations/webhooks.md [webhooks]: ../user/project/integrations/webhooks.md
[high availability]: ./high_availability/README.md