summaryrefslogtreecommitdiff
path: root/fetchmail.service
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 15:03:16 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 15:03:16 +0000
commit0e1b4e5420a19a21f9334b1ba377dd8e05a9558c (patch)
treee5c722dd6e4e36ac78a2a7af2f8a4d19b65559ab /fetchmail.service
parent438427628253f29f7007385b2c959bc0a9d0883d (diff)
automatic import of fetchmailopeneuler24.03_LTSopeneuler23.09
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