1a2b822ec185de4383d45cdc026ff34360586e2f

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

Message

Add delay to thunderbird startup

Diff

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