rss/Cargo.toml
Niko Marmeladkov f0d334b7dd children die when rss dies via PR_SET_PDEATHSIG
sets SIGTERM death signal in each child before exec, so if the
daemon exits (even by crash/SIGKILL), all managed services receive
SIGTERM and terminate. adds libc dependency for prctl.

includes getppid() == 1 check to handle the fork/prctl race.
2026-07-03 14:15:38 +03:00

12 lines
294 B
TOML

[package]
name = "rss"
version = "0.1.0"
edition = "2021"
[dependencies]
clap = { version = "4", features = ["derive"] }
serde = { version = "1", features = ["derive"] }
toml = "0.8"
chrono = "0.4"
nix = { version = "0.29", default-features = false, features = ["signal", "fs"] }
libc = "0.2"