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..64c1182
--- /dev/null
+++ b/archlinuxaba/fetchmail/fetchmail.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Fetchmail
+After=network.target
+
+[Service]
+User=fetchmail
+ExecStart=/usr/bin/fetchmail -d 900 -f /etc/fetchmailrc
+RestartSec=1
+
+[Install]
+WantedBy=multi-user.target