From: Guilhem Moulin Date: Tue, 8 Mar 2016 17:03:08 +0000 (+0100) Subject: pullimap: add systemd service unit file. X-Git-Url: https://git.g-eek.se/?a=commitdiff_plain;h=750b6cbca59325c3419a5303f40359025e5b344d;p=interimap.git pullimap: add systemd service unit file. --- 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