Pipe through dropshell-agent shared script folder $AGENT_PATH

This commit is contained in:
Your Name 2025-05-03 22:09:49 +12:00
parent 943ed79641
commit 107034cf7b
2 changed files with 1 additions and 0 deletions

View File

@ -210,6 +210,7 @@ void get_all_service_env_vars(const std::string &server_name, const std::string
all_env_vars["CONFIG_PATH"] = remotepath::service_config(server_name,service_name);
all_env_vars["SERVER"] = server_name;
all_env_vars["SERVICE"] = service_name;
all_env_vars["AGENT_PATH"] = remotepath::service_template(server_name, "dropshell-agent") + "/shared";
ServerInfo server_info = get_server_info(server_name);
if (server_info.ssh_host.empty())