net-mail/fetchmail: Add instance systemd.service file (fetchmail@.service)
authorMatthias Dahl <matthias.dahl@binary-island.eu>
Tue, 29 Nov 2016 08:50:54 +0000 (09:50 +0100)
committerRobin H. Johnson <robbat2@gentoo.org>
Sat, 7 Jan 2017 21:30:28 +0000 (13:30 -0800)
commitad5b69f20c9b57900a32d431d6a6d675467fc1b1
tree4a91b11cccc7ad614504b75c214d30f7bd4197e9
parentc985ce7c586b661bc6c81c5c367cad8cfb01df1d
net-mail/fetchmail: Add instance systemd.service file (fetchmail@.service)

In certain use-cases, it is necessary to run several instances of fetchmail
in parallel (e.g. monitoring numerous accounts via IMAP-IDLE).

This adds a systemd fetchmail@.service file, allowing the user to configure
fetchmail in the following way:

 $> systemd enable fetchmail@INSTANCE_NAME

 /etc/fetchmailrc-INSTANCE_NAME
 /run/fetchmail/fetchmail-INSTANCE_NAME.pid
 /var/lib/fetchmail/.fetchids.INSTANCE_NAME

(cherry picked from commit de1ce79c92c4fce45bd44400d39419663643549d)
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
net-mail/fetchmail/fetchmail-6.3.26-r3.ebuild [new file with mode: 0644]
net-mail/fetchmail/files/fetchmail_at.service [new file with mode: 0644]