aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/notmuch/.config/systemd/user/notmuch.service
diff options
context:
space:
mode:
Diffstat (limited to 'notmuch/.config/systemd/user/notmuch.service')
-rw-r--r--notmuch/.config/systemd/user/notmuch.service3
1 files changed, 3 insertions, 0 deletions
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