mirror of
https://codeberg.org/icewind/haze.git
synced 2026-10-01 08:44:09 +02:00
show information about slow starting services on start
This commit is contained in:
parent
b8c391b014
commit
5555efbfcc
5 changed files with 154 additions and 56 deletions
|
|
@ -205,6 +205,14 @@ pub trait ServiceTrait {
|
|||
fn exec_shell(&self) -> &'static str {
|
||||
"bash"
|
||||
}
|
||||
|
||||
/// Allow services to delay the completion of the `start` command untill they are fully setup
|
||||
///
|
||||
/// This is not for services which are critical for the running of the instance (use `is_healthy` for that)
|
||||
/// But instead for cases where the instance is mostly usable, but might have some missing features
|
||||
async fn final_wait(&self, _docker: &Docker, _cloud_id: &str) -> Result<()> {
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Eq, PartialEq, Debug)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue