diff options
author | Toby Vincent <tobyv@tobyvin.dev> | 2024-10-05 13:26:09 -0500 |
---|---|---|
committer | Toby Vincent <tobyv@tobyvin.dev> | 2024-10-05 13:26:09 -0500 |
commit | 318f40edcaa550481a8ffed0aa34041d988c4dc8 (patch) | |
tree | 907b5c0a5142dcb3a8feaac4375bac3d4fcbc5ae /notmuch | |
parent | 49af7de8ce8d83bd0d8766cb91bd83f4117cb340 (diff) |
fix(notmuch): add delay to allow gpg key to unlock
Diffstat (limited to 'notmuch')
-rw-r--r-- | notmuch/.config/systemd/user/goimapnotify.service | 1 | ||||
-rw-r--r-- | notmuch/.config/systemd/user/notmuch.service | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/notmuch/.config/systemd/user/goimapnotify.service b/notmuch/.config/systemd/user/goimapnotify.service index 6a76d4d..75d8b5f 100644 --- a/notmuch/.config/systemd/user/goimapnotify.service +++ b/notmuch/.config/systemd/user/goimapnotify.service @@ -3,6 +3,7 @@ Description=Execute scripts on IMAP mailbox changes (new/deleted/updated message [Service] Type=simple +ExecStartPre=/usr/bin/sleep 5 ExecStart=/usr/bin/goimapnotify Restart=always RestartSec=30 diff --git a/notmuch/.config/systemd/user/notmuch.service b/notmuch/.config/systemd/user/notmuch.service index 2d7f483..913c19d 100644 --- a/notmuch/.config/systemd/user/notmuch.service +++ b/notmuch/.config/systemd/user/notmuch.service @@ -6,7 +6,10 @@ After=network-online.target [Service] Type=oneshot +ExecStartPre=/usr/bin/sleep 5 ExecStart=/usr/bin/notmuch new +Restart=on-failure +RestartSec=30 [Install] WantedBy=default.target |