diff options
Diffstat (limited to 'notmuch/.config/systemd/user')
-rw-r--r-- | notmuch/.config/systemd/user/goimapnotify.service | 11 | ||||
-rw-r--r-- | notmuch/.config/systemd/user/notmuch.service | 3 |
2 files changed, 12 insertions, 2 deletions
diff --git a/notmuch/.config/systemd/user/goimapnotify.service b/notmuch/.config/systemd/user/goimapnotify.service new file mode 100644 index 0000000..6a76d4d --- /dev/null +++ b/notmuch/.config/systemd/user/goimapnotify.service @@ -0,0 +1,11 @@ +[Unit] +Description=Execute scripts on IMAP mailbox changes (new/deleted/updated messages) using IDLE, golang version. + +[Service] +Type=simple +ExecStart=/usr/bin/goimapnotify +Restart=always +RestartSec=30 + +[Install] +WantedBy=default.target diff --git a/notmuch/.config/systemd/user/notmuch.service b/notmuch/.config/systemd/user/notmuch.service index fcbee89..865b3fd 100644 --- a/notmuch/.config/systemd/user/notmuch.service +++ b/notmuch/.config/systemd/user/notmuch.service @@ -1,11 +1,10 @@ [Unit] Description=Mailbox indexer service Documentation=man:notmuch(1) -After=mbsync@.service [Service] Type=oneshot ExecStart=/usr/bin/notmuch new [Install] -WantedBy=mbsync@.service +WantedBy=default.target |