summaryrefslogtreecommitdiff
path: root/archlinuxaba/fetchmail/fetchmail@.service
diff options
context:
space:
mode:
Diffstat (limited to 'archlinuxaba/fetchmail/fetchmail@.service')
-rw-r--r--archlinuxaba/fetchmail/fetchmail@.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/archlinuxaba/fetchmail/fetchmail@.service b/archlinuxaba/fetchmail/fetchmail@.service
new file mode 100644
index 0000000..afda8f5
--- /dev/null
+++ b/archlinuxaba/fetchmail/fetchmail@.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=A remote-mail retrieval utility
+After=network.target
+
+[Service]
+User=fetchmail
+ExecStart=/usr/bin/fetchmail --pidfile /run/fetchmail/fetchmailrc.%I.pid -f /etc/fetchmailrc.%I -d 900
+RestartSec=1
+
+[Install]
+Alias=multi-user.target.wants/fetchmail@%i.service