From 0bc7799c5186a4e06d20560237338954fdb3e58d Mon Sep 17 00:00:00 2001 From: Bruno Carlin Date: Mon, 2 Jul 2018 14:30:45 +0200 Subject: [PATCH] fix email background update --- systemd/.config/systemd/user/syncemail.timer | 3 ++- .../.config/systemd/user/timers.target.wants/syncemail.timer | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 120000 systemd/.config/systemd/user/timers.target.wants/syncemail.timer diff --git a/systemd/.config/systemd/user/syncemail.timer b/systemd/.config/systemd/user/syncemail.timer index 788747e..5d0b400 100644 --- a/systemd/.config/systemd/user/syncemail.timer +++ b/systemd/.config/systemd/user/syncemail.timer @@ -2,7 +2,8 @@ Description=Mailbox synchronization timer [Timer] -OnCalendar=*-*-* *:00/2:00 +OnBootSec=2m +OnUnitActiveSec=5m Persistent=true Unit=syncemail.service diff --git a/systemd/.config/systemd/user/timers.target.wants/syncemail.timer b/systemd/.config/systemd/user/timers.target.wants/syncemail.timer new file mode 120000 index 0000000..fa7db4d --- /dev/null +++ b/systemd/.config/systemd/user/timers.target.wants/syncemail.timer @@ -0,0 +1 @@ +/home/bca/.config/systemd/user/syncemail.timer \ No newline at end of file