trifid/tfclient/src/service/macos.rs

22 lines
556 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 {
2023-03-22 18:36:36 +00:00
fn install(&self, _bin_path: PathBuf, _name: &str, _server_url: &str) -> Result<(), Box<dyn Error>> {
2023-03-22 18:34:06 +00:00
todo!()
}
2023-03-22 18:36:36 +00:00
fn uninstall(&self, _name: &str) -> Result<(), Box<dyn Error>> {
2023-03-22 18:34:06 +00:00
todo!()
}
2023-03-22 18:36:36 +00:00
fn start(&self, _name: &str) -> Result<(), Box<dyn Error>> {
2023-03-22 18:34:06 +00:00
todo!()
}
2023-03-22 18:36:36 +00:00
fn stop(&self, _name: &str) -> Result<(), Box<dyn Error>> {
2023-03-22 18:34:06 +00:00
todo!()
}
}