Skip to content

Commit

Permalink
Updated the README.md file
Browse files Browse the repository at this point in the history
Signed-off-by: Dennis Vestergaard Værum <github@varum.dk>
  • Loading branch information
dvaerum authored and J0WI committed Jun 13, 2023
1 parent ac68d6c commit a31036f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a31036f

Please sign in to comment.