docs: clarify that scripts are run only if autosnap or autoprune are set

This commit is contained in:
Alex Garel 2024-11-05 11:20:31 +01:00 committed by GitHub
parent 2259625b08
commit 19f8877dcb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -126,7 +126,9 @@ For more full details on sanoid.conf settings see [Wiki page](https://github.com
### Sanoid script hooks
There are three script types which can optionally be executed at various stages in the lifecycle of a snapshot:
There are three script types which can optionally be executed at various stages in the lifecycle of a snapshot.
**Note** that snapshots related script are triggered only if you have `autosnap = yes` and pruning scripts are triggered only if you have `autoprune = yes`.
#### `pre_snapshot_script`