summaryrefslogtreecommitdiff
path: root/fetchmail.service
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 13:59:40 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 13:59:40 +0000
commit4a4f35633c1b1d8cbf850ec3bba38022a45d87a1 (patch)
treee5c722dd6e4e36ac78a2a7af2f8a4d19b65559ab /fetchmail.service
parent43a1905d02a474924973dace6d2d5fdab2e5ba8c (diff)
automatic import of fetchmailopeneuler24.03_LTS
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