aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2019-01-20 20:23:20 +0100
committerGuilhem Moulin <guilhem@fripost.org>2019-01-20 22:25:06 +0100
commitd19ba0a20d0d7a7ec288c93df329210b31bf3c51 (patch)
treefb4e6ee0bec2b8bd2c266c1a21ddc4e6ac7e7367
parent8c0f59f3f3add18a9ee8be767f54f43996ddbd78 (diff)
interimap.service: use --watch=60 rather than --notify.
-rw-r--r--Changelog2
-rw-r--r--interimap.sample2
-rw-r--r--interimap.service2
3 files changed, 4 insertions, 2 deletions
diff --git a/Changelog b/Changelog
index c8a0d51..eb187b6 100644
--- a/Changelog
+++ b/Changelog
@@ -14,6 +14,8 @@ interimap (0.4) UNRELEASED
- Ensure the lower bound of UID ranges is at least 1.
- Fix manpage generation with pandoc >=2.1.
- Specify minimum Perl and Net::SSLeay versions.
+ - interimap.service: use --watch=60 rather than --notify, because
+ dovecot's NOTIFY extension doesn't seem to work so well as of 2.2.27.
-- Guilhem Moulin <guilhem@guilhem.org> Tue, 06 Dec 2016 17:37:01 +0100
diff --git a/interimap.sample b/interimap.sample
index 8cd0a29..f771e54 100644
--- a/interimap.sample
+++ b/interimap.sample
@@ -1,4 +1,4 @@
-#database = imap.guilhem.org.db
+#database = imap.example.org.db
#list-mailbox = "*"
list-select-opts = SUBSCRIBED
ignore-mailbox = ^virtual/
diff --git a/interimap.service b/interimap.service
index 6e487d4..8e9915f 100644
--- a/interimap.service
+++ b/interimap.service
@@ -4,7 +4,7 @@ Wants=network-online.target
After=network-online.target
[Service]
-ExecStart=/usr/bin/interimap --notify
+ExecStart=/usr/bin/interimap --watch=60
RestartSec=10min
Restart=on-failure