fix: update required components and correct exec command path in PackageManager
This commit is contained in:
parent
b033f81071
commit
f1f4531529
3 changed files with 5 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -7,4 +7,5 @@ bin
|
||||||
botserver-stack
|
botserver-stack
|
||||||
*logfile*
|
*logfile*
|
||||||
*-log*
|
*-log*
|
||||||
docs/book
|
docs/book
|
||||||
|
.rdb
|
||||||
|
|
@ -127,7 +127,7 @@ Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
let pm = PackageManager::new(self.install_mode.clone(), self.tenant.clone())?;
|
let pm = PackageManager::new(self.install_mode.clone(), self.tenant.clone())?;
|
||||||
let required_components = vec!["tables", "drive", "cache", "llm"];
|
let required_components = vec!["tables", "drive", "cache"];
|
||||||
let mut config = AppConfig::from_env();
|
let mut config = AppConfig::from_env();
|
||||||
|
|
||||||
for component in required_components {
|
for component in required_components {
|
||||||
|
|
|
||||||
|
|
@ -212,6 +212,7 @@ impl PackageManager {
|
||||||
binary_name: Some("valkey-server".to_string()),
|
binary_name: Some("valkey-server".to_string()),
|
||||||
pre_install_cmds_linux: vec![],
|
pre_install_cmds_linux: vec![],
|
||||||
post_install_cmds_linux: vec![
|
post_install_cmds_linux: vec![
|
||||||
|
"chmod +x {{BIN_PATH}}/bin/valkey-server".to_string(),
|
||||||
],
|
],
|
||||||
pre_install_cmds_macos: vec![],
|
pre_install_cmds_macos: vec![],
|
||||||
post_install_cmds_macos: vec![],
|
post_install_cmds_macos: vec![],
|
||||||
|
|
@ -219,7 +220,7 @@ post_install_cmds_linux: vec![
|
||||||
post_install_cmds_windows: vec![],
|
post_install_cmds_windows: vec![],
|
||||||
env_vars: HashMap::new(),
|
env_vars: HashMap::new(),
|
||||||
data_download_list: Vec::new(),
|
data_download_list: Vec::new(),
|
||||||
exec_cmd: "{{BIN_PATH}}/valkey-server --port 6379 --dir {{DATA_PATH}}".to_string(),
|
exec_cmd: "{{BIN_PATH}}/bin/valkey-server --port 6379 --dir {{DATA_PATH}}".to_string(),
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue