aboutsummaryrefslogtreecommitdiffstats
path: root/interimap@.service
diff options
context:
space:
mode:
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