aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/systemd/fetchmail.service
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/systemd/fetchmail.service')
-rw-r--r--contrib/systemd/fetchmail.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/systemd/fetchmail.service b/contrib/systemd/fetchmail.service
new file mode 100644
index 00000000..7e075017
--- /dev/null
+++ b/contrib/systemd/fetchmail.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Fetchmail Daemon
+Documentation=man:fetchmail(1)
+
+[Service]
+ExecStart=fetchmail --nodetach --daemon 300
+ExecStop=fetchmail --quit
+Restart=always
+
+[Install]
+WantedBy=default.target