Skip to content

Commit 7bb9a88

Browse files
authored
Merge pull request #164 from basecamp/app-boot-hook-files
Add missing files
2 parents 14241d8 + 2a43658 commit 7bb9a88

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

docs/hooks/post-app-boot.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: post-app-boot
3+
---
4+
5+
# Hooks: post-app-boot
6+
7+
Run after booting the app container when you call `kamal app boot`, or indirectly via `kamal deploy`.
8+
9+
See [pre-app-boot](../pre-app-boot) for more information.

docs/hooks/pre-app-boot.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: pre-app-boot
3+
---
4+
5+
# Hooks: pre-app-boot
6+
7+
Run before booting the app container when you call `kamal app boot`, or indirectly via `kamal deploy`.
8+
9+
With a grouped boot strategy, the hook will be called once for each group, with `KAMAL_HOSTS` containing a list of servers in the group.
10+
11+
The [post-app-boot](../post-app-boot) will be called after the boot completes, again once per deployment group.

0 commit comments

Comments
 (0)