From 79de487e1896035a2bd8eabbe2e49aa5ee5ba9b3 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Mon, 14 Jun 2021 12:39:07 +0200 Subject: [PATCH] Document snapshot_pre/_post configuration options (#967) --- docs/add-ons/configuration.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/add-ons/configuration.md b/docs/add-ons/configuration.md index f9838e45..65e03c52 100644 --- a/docs/add-ons/configuration.md +++ b/docs/add-ons/configuration.md @@ -179,6 +179,8 @@ image: repo/{arch}-my-custom-addon | panel_title | string | no | Default is the add-on name, but can be modified with this option. | panel_admin | bool | no | Default `true`. Make menu entry only available with admin privileged. | snapshot_exclude | list | no | List of file/path (with glob support) that are excluded from snapshots. +| snapshot_pre | string | Command to execute in the context of the add-on before the snapshot is being taken. +| snapshot_post | string | Command to execute in the context of the add-on after the snapshot is being taken. | advanced | bool | no | Default `false`. Make addon visible in simple mode. | stage | string | no | Default `stable`. Flag add-on with follow attribute: `stable`, `experimental` or `deprecated` | init | bool | no | Default `true`. Disable the Docker default system init. Use this if the image has its own init system.