aboutsummaryrefslogtreecommitdiffstats
path: root/interimap@.service
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2019-05-21 14:12:26 +0200
committerGuilhem Moulin <guilhem@fripost.org>2019-05-27 00:07:30 +0200
commit456946609aa1e64a42578ff1c4962ea939d31da4 (patch)
tree82cca4acbfd102b50bcfbbf015136ce81947bc00 /interimap@.service
parentbacb78530555f9a73d86564837a11d6e75236de5 (diff)
New option 'list-reference' to specify a reference name.
This is useful for synchronizing multiple remote servers against different namespaces belonging to the same local IMAP server (using a different InterIMAP instance for each local namespace ↔ remote synchronization, for instance with the newy provided systemd template unit file).
Diffstat (limited to 'interimap@.service')
-rw-r--r--interimap@.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/interimap@.service b/interimap@.service
new file mode 100644
index 0000000..6957b79
--- /dev/null
+++ b/interimap@.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Fast bidirectional synchronization for QRESYNC-capable IMAP servers (instance %i)
+Documentation=man:interimap(1)
+PartOf=interimap.service
+Wants=network-online.target
+After=network-online.target
+
+[Service]
+ExecStart=/usr/bin/interimap --config=%i --watch=60
+RestartSec=10min
+Restart=on-failure
+
+[Install]
+WantedBy=default.target