mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-07 02:09:06 +00: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:
@@ -181,6 +181,8 @@ sys-locale = "0.3"
|
||||
ringbuf = "0.4.5"
|
||||
async-ringbuf = "0.3.1"
|
||||
|
||||
service-manager = {git = "https://github.com/chipsenkbeil/service-manager-rs.git", branch = "main"}
|
||||
|
||||
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "windows", target_os = "freebsd"))'.dependencies]
|
||||
machine-uid = "0.5.3"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user