better error messages.

This commit is contained in:
Your Name
2025-04-26 22:06:57 +12:00
parent d95500f679
commit 71cb39d82e
3 changed files with 13 additions and 3 deletions

View File

@ -32,7 +32,7 @@ typedef struct ServiceStatus {
class service_runner {
public:
service_runner(const std::string& server_name, const std::string& service_name);
bool isValid;
bool isValid() const { return mValid; }
// run a command over ssh, using the credentials from server.env (via server_env.hpp)
// first check that the command corresponds to a valid .sh file in the service directory