summaryrefslogtreecommitdiff
path: root/fetchmail/fetchmail.service
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail/fetchmail.service')
-rw-r--r--fetchmail/fetchmail.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/fetchmail/fetchmail.service b/fetchmail/fetchmail.service
new file mode 100644
index 00000000..64c11827
--- /dev/null
+++ b/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