Wrench
Some checks failed
Dropshell Test / Build_and_Test (push) Has been cancelled

This commit is contained in:
Your Name
2025-05-17 18:17:25 +12:00
parent 583bb18676
commit 5bf93dc954
13 changed files with 353 additions and 343 deletions

View File

@@ -117,8 +117,8 @@ bool service_runner::run_command(const std::string& command, std::vector<std::st
}
// install doesn't require anything on the server yet.
if (command == "install")
return install_service(mServer, mService, false);
// if (command == "install")
// return install_service(mServer, mService, false);
std::string script_path = remotepath::service_template(mServer, mService) + "/" + command + ".sh";
@@ -347,11 +347,11 @@ bool service_runner::restore(std::string backup_file, bool silent)
} // dtor of remote_temp_folder will clean up the temp folder on the server
{ // installing fresh service
maketitle("5) Non-destructive install of fresh service...");
if (!install_service(mServer, mService, true))
return false;
}
// { // installing fresh service
// maketitle("5) Non-destructive install of fresh service...");
// if (!install_service(mServer, mService, true))
// return false;
// }
bool healthy = false;
{// healthcheck the service