1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! Per-verb command implementations, `daemon` first.
//!
//! `mod commands;` at `lib.rs` carries no platform gate: every module here
//! compiles on every platform, and a Unix call site gates itself.
pub
pub
pub
pub
pub
// `shep runtime`'s PID-1 zombie reaper. Windows has no zombie state and no
// reparent-to-init rule, so there is nothing for a reaper to do.
pub
pub
pub
pub
// `shep startup` installs a boot-time unit: systemd, launchd, openrc, or a
// BSD `rc.d` script. Windows' equivalent is a Service Control Manager
// service, a different program shape; the verbs refuse there.
pub