All tests pass for squashkiwi

This commit is contained in:
Your Name
2025-05-06 00:03:46 +12:00
parent 38cb23706d
commit 01858d8601
4 changed files with 38 additions and 14 deletions

View File

@ -64,14 +64,14 @@ class service_runner {
// 3. copy the template files into {DROPSHELL_DIR}/{service_name}/template (from the templates directory for the specified server, using templates.hpp to identify the path)
// 4. copying the local service directory into {DROPSHELL_DIR}/{service_name}/config (from the server directory for the specified server)
// 5. running the install.sh script on the server, passing the {service_name}.env file as an argument
bool install();
bool install(bool silent=false);
// uninstall the service over ssh, using the credentials from server.env (via server_env.hpp)
// 1. check if the server_name exists, and the service_name refers to a valid template
// 2. check if service_name is valid for the server_name
// 3. run the uninstall.sh script on the server, passing the {service_name}.env file as an argument
// 4. remove the service directory from the server
bool uninstall();
bool uninstall(bool silent=false);
// backup and restore
bool backup(bool silent=false);