]> git.g-eek.se Git - interimap.git/commitdiff
pullimap: add systemd service unit file.
authorGuilhem Moulin <guilhem@fripost.org>
Tue, 8 Mar 2016 17:03:08 +0000 (18:03 +0100)
committerGuilhem Moulin <guilhem@fripost.org>
Tue, 8 Mar 2016 17:03:08 +0000 (18:03 +0100)
pullimap@.service [new file with mode: 0644]

diff --git a/pullimap@.service b/pullimap@.service
new file mode 100644 (file)
index 0000000..d066886
--- /dev/null
@@ -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