aboutsummaryrefslogtreecommitdiffstats
path: root/pullimap@.service
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2016-03-08 23:13:43 +0100
committerGuilhem Moulin <guilhem@fripost.org>2016-03-08 23:13:43 +0100
commitec87e1965d758bc3af4403a3cf469c3297f8cb1a (patch)
tree64989e2ace4e84da226177cdc9a8e95bd5c2f5ef /pullimap@.service
parentaecdd0c6657e3edb0482751efffdcafb96f2c2c5 (diff)
parent6bf9ee9a1e1c704490489f682dfe106f2c1ee46a (diff)
Merge branch 'master' into debian
Diffstat (limited to 'pullimap@.service')
-rw-r--r--pullimap@.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/pullimap@.service b/pullimap@.service
new file mode 100644
index 0000000..d066886
--- /dev/null
+++ b/pullimap@.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Pull mails from an IMAP mailbox and deliver them to a SMTP session
+Wants=network-online.target
+After=network-online.target
+
+[Service]
+ExecStart=/usr/bin/pullimap --idle %i
+RestartSec=2min
+Restart=always
+
+[Install]
+WantedBy=default.target