use plist as macos service management config generator (#1439)

This commit is contained in:
阿瓦
2025-10-04 00:14:45 +08:00
committed by GitHub
parent 92fab5aafa
commit ad7dc3a129

View File

@@ -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")]
{ {