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>