forgejo, bao: let the go process collector read /proc/stat so the uptime panels have data
This commit is contained in:
parent
61a334c847
commit
d8ad1e1794
1 changed files with 13 additions and 0 deletions
|
|
@ -820,6 +820,13 @@ in
|
|||
"d /var/lib/forgejo/data/actions_artifacts 0750 forgejo forgejo - -"
|
||||
];
|
||||
|
||||
# The Go process collector derives `process_start_time_seconds` from
|
||||
# `btime` in /proc/stat and omits the series without a word when the
|
||||
# file is unreadable. Upstream's unit sets `ProcSubset = "pid"`,
|
||||
# which hides it, and the Uptime panel reads that series.
|
||||
# `ProtectProc = "invisible"` stays, so other processes remain hidden.
|
||||
systemd.services.forgejo.serviceConfig.ProcSubset = lib.mkForce "all";
|
||||
|
||||
# Ensure Forgejo has a usable GPG signing key so UI merges / CRUD
|
||||
# commits are signed instead of erroring "does not have a signing
|
||||
# key". This service (a) generates a key in forgejo's persistent
|
||||
|
|
|
|||
Loading…
Reference in a new issue