BROKEN
Some checks failed
Dropshell Test / Build_and_Test (push) Failing after 21s

This commit is contained in:
Your Name
2025-05-06 21:32:41 +12:00
parent 484613d10d
commit bbc280a50a
9 changed files with 335 additions and 245 deletions

View File

@ -83,7 +83,7 @@ class service_runner {
// launch an interactive ssh session on a server or service
// replaces the current dropshell process with the ssh process
void interactive_ssh_service();
bool interactive_ssh_service();
// edit the service configuration file
void edit_service_config();
@ -92,7 +92,7 @@ class service_runner {
public:
// utility functions
static std::string get_latest_backup_file(const std::string& server, const std::string& service);
static void interactive_ssh(const std::string & server_name, const std::string & command);
static bool interactive_ssh(const std::string & server_name, const std::string & command);
static void edit_server(const std::string & server_name);
static bool edit_file(const std::string & file_path);
static std::map<std::string, ServiceStatus> get_all_services_status(std::string server_name);