This commit is contained in:
Your Name
2025-04-25 13:15:28 +12:00
parent 0b5fea7b71
commit d88a691b9b
7 changed files with 16 additions and 10 deletions

View File

@ -158,7 +158,7 @@ bool service_runner::install() {
// Run install script
{
std::string install_cmd = "'cd " + mRemote_service_template_path +
" && /bin/bash _install.sh " + mRemote_service_env_file + "'";
" && /bin/bash install.sh " + mRemote_service_env_file + "'";
bool ok= execute_ssh_command(install_cmd, "Failed to run install script");
if (!ok)
return false;
@ -324,7 +324,7 @@ service_runner::HealthStatus service_runner::is_healthy()
}
// Check if status script exists
std::string command = "_status";
std::string command = "status";
if (!template_command_exists(m_service_info.template_name, command)) {
return HealthStatus::UNKNOWN;
@ -386,7 +386,7 @@ std::vector<int> service_runner::get_ports()
}
// Check if ports script exists
std::string command = "_ports";
std::string command = "ports";
if (!template_command_exists(m_service_info.template_name, command)) {
return ports;
}