mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-11-09 05:24:49 +09:00
The result translation was re-implemented per service with subtly divergent failure shapes — stderr under "error" in postfix, under "message" in php and nginx. ServiceControl.result_dict owns it, with the key and fallback parametrized so converting a site is parity, not a contract change. One deliberate improvement: an empty stderr now yields a real fallback message instead of a None "message". The audit corrected the plan's premise along the way: no dovecot/mail ×5 wrapper family exists; the genuine pass-throughs were postfix.restart and the php fpm pair. nginx keeps its config test, fail2ban its fallback, postfix.reload its own mechanism — genuine per-service logic stays.