From a31036f574ffcc308f83704c9bc46efb35d4cd9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dennis=20Vestergaard=20V=C3=A6rum?= Date: Sun, 14 May 2023 10:19:30 +0200 Subject: [PATCH] Updated the `README.md` file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dennis Vestergaard Værum --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 14c197623..89d9616c2 100644 --- a/README.md +++ b/README.md @@ -210,13 +210,15 @@ There are 5 hooks - `post-installation` Executed after the Nextcloud is installed/initiated - `pre-upgrade` Executed before the Nextcloud is upgraded - `post-upgrade` Executed after the Nextcloud is upgraded -- `before-starting` Executed before the Nextcloud is started +- `before-starting` Executed before the Nextcloud starts -To use the hooks triggered by the entrypoint script... either added the script(s) to one/more of the hook folders, which are located at the path `/docker-entrypoint-hooks.d` in the container. It is also possible to use volume(s) to insert the script into the container. +To use the hooks triggered by the `entrypoint` script, either +- Added your script(s) to the individual of the hook folder(s), which are located at the path `/docker-entrypoint-hooks.d` in the container +- Use volume(s) if you want to use script from the host system inside the container, see example. -**Remember:** Only the script(s) marked with the executable flag are executed. +**Note:** Only the script(s) ending with `.sh` and marked as executable will be executed. -**Example:** +**Example:** Mount using volumes ```yaml ... app: