diff options
author | Barak A. Pearlmutter <barak@pearlmutter.net> | 2021-11-23 10:47:03 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2021-11-27 12:39:28 +0100 |
commit | da52ecef355c3cd57f8575b5c6459879fa3a5f52 (patch) | |
tree | af96a023c8a16bade2741759d947d9f0db49d8e5 /contrib/systemd/fetchmail.service | |
parent | bc21a121248c5d9435b93736f64971472d9280cc (diff) | |
download | fetchmail-da52ecef355c3cd57f8575b5c6459879fa3a5f52.tar.gz fetchmail-da52ecef355c3cd57f8575b5c6459879fa3a5f52.tar.bz2 fetchmail-da52ecef355c3cd57f8575b5c6459879fa3a5f52.zip |
Add systemd example and instructions.
Diffstat (limited to 'contrib/systemd/fetchmail.service')
-rw-r--r-- | contrib/systemd/fetchmail.service | 11 |
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 |