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
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -8,3 +8,4 @@ botserver-stack
|
|||
*logfile*
|
||||
*-log*
|
||||
docs/book
|
||||
.rdb
|
||||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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(),
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue