Tidying
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user