<feed xmlns='http://www.w3.org/2005/Atom'>
<title>archsetup/assets/outbox/2026-05-12-protonmail-bridge-orphan-instance-and-dns-race.org, branch main</title>
<subtitle>Builds a full dev workstation from a bare Arch Linux install.
</subtitle>
<id>https://git.cjennings.net/archsetup/atom?h=main</id>
<link rel='self' href='https://git.cjennings.net/archsetup/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/archsetup/'/>
<updated>2026-05-13T15:40:03+00:00</updated>
<entry>
<title>feat(cmail): clean autostart stub and add DNS-wait drop-in</title>
<updated>2026-05-13T15:40:03+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-13T15:40:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/archsetup/commit/?id=537b13cd032b8cd48f980f05b8b2cbc1155e36a3'/>
<id>urn:sha1:537b13cd032b8cd48f980f05b8b2cbc1155e36a3</id>
<content type='text'>
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.
</content>
</entry>
</feed>
