When the daemon runs as a different user (e.g. via systemd), the client cannot read /proc/<pid>/environ due to permissions. Fall back to parsing the cmdline for -D / --state-dir flags, which are world-readable. Fixes 'error: no logs for <service>' when client and daemon run as different users. v0.1.1
12 lines
294 B
TOML
12 lines
294 B
TOML
[package]
|
|
name = "rss"
|
|
version = "0.1.1"
|
|
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"
|