summaryrefslogtreecommitdiff
path: root/fetchmail.service
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.service')
-rw-r--r--fetchmail.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/fetchmail.service b/fetchmail.service
new file mode 100644
index 0000000..f59312c
--- /dev/null
+++ b/fetchmail.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=A remote-mail retrieval utility
+After=local-fs.target network.target
+
+[Service]
+User=mail
+ExecStart=/usr/bin/fetchmail -d 300 --fetchmailrc /etc/fetchmailrc.example
+RestartSec=1
+
+[Install]
+WantedBy=multi-user.target