home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix systemd timers.
[config]
/
buster
/
etc_files
/
mail
/
etc
/
systemd
/
system
/
fetchmail_old_account.service
diff --git a/buster/etc_files/mail/etc/systemd/system/fetchmail_old_account.service
b/buster/etc_files/mail/etc/systemd/system/fetchmail_old_account.service
new file mode 100644
(file)
index 0000000..
dc8acb4
--- /dev/null
+++ b/
buster/etc_files/mail/etc/systemd/system/fetchmail_old_account.service
@@ -0,0
+1,8
@@
+[Unit]
+Description=Run plom's fetchmail
+
+[Service]
+Type=oneshot
+User=plom
+# fetchmail returns 1 when no new mail, we want to catch that
+ExecStart=/bin/sh -c 'fetchmail || [ $? -eq 1 ]'