diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2016-03-08 18:03:08 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2016-03-08 18:03:08 +0100 |
commit | 750b6cbca59325c3419a5303f40359025e5b344d (patch) | |
tree | 5854204272b04aee4d4a87bccea213bcd19a159c | |
parent | e19354c1b2b8015f58b7119763bb8cec401fb3fa (diff) |
pullimap: add systemd service unit file.
-rw-r--r-- | pullimap@.service | 12 |
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 |