pub struct SystemdService {
pub unit: String,
pub bin: PathBuf,
pub env: PathBuf,
pub config: Option<PathBuf>,
}Expand description
systemd impl of the Service port.
Fields§
§unit: StringUnit name, e.g. “bupha-watch.service”.
bin: PathBufBinary to ExecStart.
env: PathBufEnvironmentFile (secrets), e.g. ~/.config/bupha/env.
config: Option<PathBuf>Optional –config arg.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SystemdService
impl RefUnwindSafe for SystemdService
impl Send for SystemdService
impl Sync for SystemdService
impl Unpin for SystemdService
impl UnsafeUnpin for SystemdService
impl UnwindSafe for SystemdService
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more