trifid/tfclient/src/service/macos.rs

22 lines
550 B
Rust
Raw Normal View History

2023-03-22 18:34:06 +00:00
use std::error::Error;
use std::path::PathBuf;
use crate::service::ServiceManager;
pub struct OSXServiceManager {}
impl ServiceManager for OSXServiceManager {
fn install(&self, bin_path: PathBuf, name: &str, server_url: &str) -> Result<(), Box<dyn Error>> {
todo!()
}
fn uninstall(&self, name: &str) -> Result<(), Box<dyn Error>> {
todo!()
}
fn start(&self, name: &str) -> Result<(), Box<dyn Error>> {
todo!()
}
fn stop(&self, name: &str) -> Result<(), Box<dyn Error>> {
todo!()
}
}