More instructions

This commit is contained in:
Your Name
2025-04-25 23:29:50 +12:00
parent fb46dffdaf
commit 3c99ad1503
6 changed files with 103 additions and 25 deletions

View File

@ -84,6 +84,9 @@ class service_runner {
// replaces the current dropshell process with the ssh process
void interactive_ssh_service();
// edit the service configuration file
void edit_service_config();
private:
std::string m_server_name;
ServiceInfo m_service_info;
@ -108,7 +111,11 @@ class service_runner {
static bool execute_local_command_and_capture_output(const std::string& command, std::string & output);
};
void interactive_ssh(const std::string & server_name, const std::string & command);
// other utility routines (not specific to service_runner)
void interactive_ssh(const std::string & server_name, const std::string & command);
void edit_server(const std::string & server_name);
void edit_file(const std::string & file_path, const std::string & aftertext);
} // namespace dropshell