1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2025-06-02 15:43:59 +00:00

Document YADM_HOOK_DATA and YADM_HOOK_DIR env variables (#343)

This commit is contained in:
Erik Flodin 2025-01-27 22:25:03 +01:00
parent 1505b7ec8f
commit 7e19d21f09
No known key found for this signature in database
GPG Key ID: 420A7C865EE3F85F

6
yadm.1
View File

@ -913,6 +913,12 @@ Hooks have the following environment variables available to them at runtime:
.B YADM_HOOK_COMMAND
The command which triggered the hook
.TP
.B YADM_HOOK_DATA
The path to the yadm data directory
.TP
.B YADM_HOOK_DIR
The path to the yadm directory
.TP
.B YADM_HOOK_EXIT
The exit status of the yadm command
.TP