mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 09:04:12 +02:00
auto configure av when kaspersky is enabled
This commit is contained in:
parent
25ea32820c
commit
9eed1b9eda
1 changed files with 8 additions and 0 deletions
|
|
@ -90,4 +90,12 @@ impl ServiceTrait for Kaspersky {
|
|||
fn apps(&self) -> &'static [&'static str] {
|
||||
&["files_antivirus"]
|
||||
}
|
||||
|
||||
async fn post_setup(&self, _docker: &Docker, _cloud_id: &str) -> Result<Vec<String>> {
|
||||
Ok(vec![
|
||||
"occ config:app:set files_antivirus av_mode --value=kaspersky".into(),
|
||||
"occ config:app:set files_antivirus av_host --value=kaspersky".into(),
|
||||
"occ config:app:set files_antivirus av_port --value=80".into(),
|
||||
])
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue