summaryrefslogtreecommitdiff
path: root/testing/fetchmail/fetchmail.service
diff options
context:
space:
mode:
Diffstat (limited to 'testing/fetchmail/fetchmail.service')
-rw-r--r--testing/fetchmail/fetchmail.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/fetchmail/fetchmail.service b/testing/fetchmail/fetchmail.service
new file mode 100644
index 000000000..3e7da7545
--- /dev/null
+++ b/testing/fetchmail/fetchmail.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=A remote-mail retrieval utility
+After=network.target
+
+[Service]
+User=fetchmail
+EnvironmentFile=/etc/conf.d/fetchmail
+ExecStart=/usr/bin/fetchmail -d ${INTERVAL} -f ${CONFIG}
+RestartSec=1
+
+[Install]
+WantedBy=multi-user.target