Watch
0
0
Fork
You've already forked hyperhive
0

forgejo, bao: let the go process collector read /proc/stat so the uptime panels have data

This commit is contained in:
atlas 2026-11-07 14:19:52 +01:00 • committed by mara
commit d8ad1e1794

View file

@ -4405,6 +4405,12 @@ in
# the 60-144 s raft open; `Restart=on-failure` upstream then
# restarts it cold.
TimeoutStartSec = openbaoStartSec;
# 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.
ProcSubset = lib.mkForce "all";
}
// lib.optionalAttrs haveServerTls {
LoadCredential = [ "${serverKeyCredential}:${serverKeyPath}" ];