fix: update required components and correct exec command path in PackageManager

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-10-26 20:50:37 -03:00
parent b033f81071
commit f1f4531529
3 changed files with 5 additions and 3 deletions

3
.gitignore vendored
View file

@ -7,4 +7,5 @@ bin
botserver-stack
*logfile*
*-log*
docs/book
docs/book
.rdb

View file

@ -127,7 +127,7 @@ Ok(())
}
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();
for component in required_components {

View file

@ -212,6 +212,7 @@ impl PackageManager {
binary_name: Some("valkey-server".to_string()),
pre_install_cmds_linux: vec![],
post_install_cmds_linux: vec![
"chmod +x {{BIN_PATH}}/bin/valkey-server".to_string(),
],
pre_install_cmds_macos: vec![],
post_install_cmds_macos: vec![],
@ -219,7 +220,7 @@ post_install_cmds_linux: vec![
post_install_cmds_windows: vec![],
env_vars: HashMap::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(),
},
);
}