1534eceacac8d01de805e4a1459a8193dd2a8b41

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

Add proton bridge poll to thunderbird startup

Diff

 1diff --git a/dot_config/systemd/user/thunderbird-autostart.service b/dot_config/systemd/user/thunderbird-autostart.service
 2index e8e1f2c1681d1e048f8f7d7d8160e318b8c01689..cf02731a41d06ef95de9699261dd7083e2a8e12d 100644
 3--- a/dot_config/systemd/user/thunderbird-autostart.service
 4+++ b/dot_config/systemd/user/thunderbird-autostart.service
 5@@ -5,4 +5,6 @@ After=protonmail-bridge.service
 6 
 7 [Service]
 8 Type=oneshot
 9+TimeoutStartSec=60
10+ExecStartPre=/usr/bin/bash -c 'for i in {1..60}; do /usr/bin/nc -z -w1 127.0.0.1 1143 && /usr/bin/nc -z -w1 127.0.0.1 1025 && exit 0; sleep 1; done; exit 1'
11 ExecStart=/usr/bin/uwsm app -- org.mozilla.Thunderbird.desktop