From 750b6cbca59325c3419a5303f40359025e5b344d Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Tue, 8 Mar 2016 18:03:08 +0100 Subject: [PATCH] pullimap: add systemd service unit file. --- pullimap@.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pullimap@.service 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 -- 2.39.2