aboutsummaryrefslogtreecommitdiff
path: root/assets/outbox/2026-05-12-protonmail-bridge-orphan-instance-and-dns-race.org
Commit message (Collapse)AuthorAgeFilesLines
* feat(cmail): clean autostart stub and add DNS-wait drop-inCraig Jennings2026-05-131-0/+142
I extended cmail-setup-finish.sh with two boot-cleanliness fixes for the systemd --user Bridge service. The autostart cleanup removes ~/.config/autostart/Proton Mail Bridge.desktop, which double-launches Bridge and throws an "orphan instance" dialog every login. The wait-for-dns drop-in installs an ExecStartPre loop that waits up to 30 seconds for DNS before Bridge's first API call. User-instance systemd doesn't carry network-online.target, so After=network.target doesn't imply the resolver is up. The leading '-' makes the pre-step non-fatal so an offline boot still starts the unit.