diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-17 14:32:38 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-17 14:32:38 -0500 |
| commit | 11520cdfe16949ef6ba1bb6abc838e1a6155ffc3 (patch) | |
| tree | 78586ae799f4d906a414ae4f934466093c2e76dc /todo.org | |
| parent | 0e99d15158cb2208f9a5adac8d456886c7cffc40 (diff) | |
| download | archsetup-11520cdfe16949ef6ba1bb6abc838e1a6155ffc3.tar.gz archsetup-11520cdfe16949ef6ba1bb6abc838e1a6155ffc3.zip | |
fix(cmail-setup-finish): verify both Bridge ports and dump status on failure
The "verifying Bridge is listening" check used a regex
`127\.0\.0\.1:(1143|1025)` against `ss -ltn` output. That matches if
*either* port is listening, but the success message claims both are. So
a half-broken Bridge (IMAP up, SMTP down or vice versa) would pass the
check.
I split the check into two greps and report which port is missing.
When the check fails, the script now also prints the last 10 lines of
`systemctl --user status protonmail-bridge` to stderr so the operator
sees the service state immediately instead of being told to go run the
command themselves.
Diffstat (limited to 'todo.org')
0 files changed, 0 insertions, 0 deletions
