1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-10-01 08:44:09 +02:00

allow exec'ing service containers

This commit is contained in:
Robin Appelman 2026-06-03 15:28:25 +02:00
commit d138740bbd
7 changed files with 74 additions and 16 deletions

View file

@ -75,4 +75,8 @@ impl ServiceTrait for Redis {
"occ config:system:set redis host --value redis",
)])
}
fn exec_shell(&self) -> &'static str {
"sh"
}
}

View file

@ -90,4 +90,8 @@ impl ServiceTrait for Smb {
split_cmnd("occ files_external:config 1 share test"),
])
}
fn exec_shell(&self) -> &'static str {
"sh"
}
}

View file

@ -68,4 +68,8 @@ impl ServiceTrait for Webhook {
fn proxy_port(&self) -> u16 {
8080
}
fn exec_shell(&self) -> &'static str {
""
}
}