Commit bddc6d9
committed
FEATURE: Adds multiple hooks on startup
This allows for more specific scripting at the
start of a pod, the order of operations is now:
- syslog init
- set env
- setup user_profile, igbinary, blackfire
- run beach-hook-initialize (as an early hook)
- doctrine migrate, resource publish, cache warmup
- run startup script (old) + beach-hook-warmup
- enable user services
- fpm + supervisor init/conf
- supervisor start
- crawler starts (haven't changed order for now)
- sshd, metrics, cron started
- supervisor status check
- run beach-hook-ready (here fpm should be up)
- write .warmupdone
- run beach-hook-live1 parent 5842ac3 commit bddc6d9
2 files changed
+30
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
209 | 227 | | |
210 | 228 | | |
211 | 229 | | |
| |||
315 | 333 | | |
316 | 334 | | |
317 | 335 | | |
| 336 | + | |
| 337 | + | |
318 | 338 | | |
319 | 339 | | |
320 | 340 | | |
| |||
340 | 360 | | |
341 | 361 | | |
342 | 362 | | |
343 | | - | |
| 363 | + | |
344 | 364 | | |
345 | 365 | | |
346 | 366 | | |
| 367 | + | |
347 | 368 | | |
348 | 369 | | |
349 | 370 | | |
| |||
364 | 385 | | |
365 | 386 | | |
366 | 387 | | |
| 388 | + | |
367 | 389 | | |
| 390 | + | |
| 391 | + | |
368 | 392 | | |
369 | 393 | | |
| 394 | + | |
| 395 | + | |
370 | 396 | | |
0 commit comments