mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-12 04:37:23 +08:00
use plist as macos service management config generator (#1439)
This commit is contained in:
@@ -1512,6 +1512,7 @@ impl Service {
|
|||||||
ServiceManagerKind::Systemd => Some(self.make_systemd_unit(options).unwrap()),
|
ServiceManagerKind::Systemd => Some(self.make_systemd_unit(options).unwrap()),
|
||||||
ServiceManagerKind::Rcd => Some(self.make_rcd_script(options).unwrap()),
|
ServiceManagerKind::Rcd => Some(self.make_rcd_script(options).unwrap()),
|
||||||
ServiceManagerKind::OpenRc => Some(self.make_open_rc_script(options).unwrap()),
|
ServiceManagerKind::OpenRc => Some(self.make_open_rc_script(options).unwrap()),
|
||||||
|
ServiceManagerKind::Launchd => None, // 使用 service-manager-rs 的默认 plist 生成
|
||||||
_ => {
|
_ => {
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user