mirror of
https://github.com/matter-labs/teepot.git
synced 2025-07-21 23:23:57 +02:00
feat(tdx_google): add onFailure action to reboot on metadata.service errors
- Introduce `onFailure` handler to trigger reboot after 5 minutes. - Enhances system reliability by automating recovery measures. Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
parent
a430e2f93b
commit
cf4a6cfb60
1 changed files with 3 additions and 0 deletions
|
@ -49,5 +49,8 @@
|
||||||
KAFKA_URLS="''${KAFKA_URLS}"
|
KAFKA_URLS="''${KAFKA_URLS}"
|
||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
|
postStop = lib.mkDefault ''
|
||||||
|
shutdown --reboot +5
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue