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:
parent
fc6cde4161
commit
d138740bbd
7 changed files with 74 additions and 16 deletions
|
|
@ -75,4 +75,8 @@ impl ServiceTrait for Redis {
|
|||
"occ config:system:set redis host --value redis",
|
||||
)])
|
||||
}
|
||||
|
||||
fn exec_shell(&self) -> &'static str {
|
||||
"sh"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -90,4 +90,8 @@ impl ServiceTrait for Smb {
|
|||
split_cmnd("occ files_external:config 1 share test"),
|
||||
])
|
||||
}
|
||||
|
||||
fn exec_shell(&self) -> &'static str {
|
||||
"sh"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -68,4 +68,8 @@ impl ServiceTrait for Webhook {
|
|||
fn proxy_port(&self) -> u16 {
|
||||
8080
|
||||
}
|
||||
|
||||
fn exec_shell(&self) -> &'static str {
|
||||
""
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue