hmm
This commit is contained in:
@ -170,10 +170,12 @@ void create_server(const std::string &server_name)
|
||||
server_env_file.close();
|
||||
|
||||
// 4. add dropshell-agent service to server
|
||||
std::string service_dir = server_dir + "/dropshell-agent";
|
||||
std::filesystem::create_directory(service_dir);
|
||||
std::string service_env_path = service_dir + "/service.env";
|
||||
std::filesystem::copy(get_local_system_templates_path() + "/dropshell-agent/example/service.env", service_env_path);
|
||||
create_service(server_name, "dropshell-agent", "dropshell-agent", true); // silently create service.
|
||||
|
||||
// std::string service_dir = server_dir + "/dropshell-agent";
|
||||
// std::filesystem::create_directory(service_dir);
|
||||
// std::string service_env_path = service_dir + "/service.env";
|
||||
// std::filesystem::copy(get_local_system_templates_path() + "/dropshell-agent/example/service.env", service_env_path);
|
||||
|
||||
std::cout << "Server created successfully: " << server_name << std::endl;
|
||||
std::cout << "Please complete the installation:" <<std::endl;
|
||||
|
Reference in New Issue
Block a user