shep 0.22.0

The shep binary: a process manager that keeps a flock of long-running processes alive on macOS, Linux and Windows, with logs, watch and cron restarts, and webhook alerts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! The hidden `daemon` subcommand: runs the supervisor in this process.
//!
//! [`run_daemon`] loads `shep.toml`, boots `shep_daemon::boot`'s supervisor,
//! and blocks in `RunningDaemon::run` until a signal or `KillDaemon` tears it
//! down. Autostart and `--foreground` share one code path; the flag adds
//! readiness reporting and nothing else, so an inherited `$NOTIFY_SOCKET`
//! cannot make an autostarted daemon answer another service's unit. Detaching
//! and the stderr redirect into `shepd.err.log` live in `launch.rs`.

mod lifecycle;
mod reload;
mod reload_report;

pub(crate) use lifecycle::dog_spec;
pub use lifecycle::{boot_supervisor, daemon_exit_code, run_daemon};
pub use reload::reload;