mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-13 21:27:25 +08:00
支持服务管理 (#456)
* Support running as a Windows service. * Optimize startup logic contro * When running in a Windows service environment, delegate the termination of the program to the win_service_event_loop function. * Remove the use of std::ffi::OsString at the top. * Support service manager * Move the service-related features to be implemented in easytier-cli. * Add a command line option work-dir to specify the working directory Adjust the error handling logic
This commit is contained in:
@@ -152,4 +152,4 @@ pub fn setup_socket_for_win<S: AsRawSocket>(
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user