rss/Cargo.toml
Niko Marmeladkov e4aea785ee
discover daemon state dir from cmdline when environ is unreadable
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
2026-07-07 13:52:13 +03:00

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"