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.
12 lines
294 B
TOML
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"
|