summaryrefslogtreecommitdiff
path: root/debian/apt-daily.timer
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-04-26 20:03:56 +0200
committerJulian Andres Klode <jak@debian.org>2017-05-05 14:50:39 +0200
commit55100ab1e47d24224d2fa1abb3ccce2130469884 (patch)
tree94fba0ca141ca5bafcc030077048860a870b4add /debian/apt-daily.timer
parent82579d3ef511d553d374150b18e6ad6f3cfd872b (diff)
Split apt-daily timer into two
The timer doing downloading runs throughout the day, whereas automatic upgrade and clean actions only happen in the morning. The upgrade service and timer have After= ordering requirements on their non-upgrade counterparts to ensure that upgrading at boot takes place after downloading. LP: #1686470 (cherry picked from commit 496313fb8e83af2ba71f6ce3d729be687c293dfd) (cherry picked from commit a234cfe1466066aa1f404cf01e544f16cb517846)
Diffstat (limited to 'debian/apt-daily.timer')
-rw-r--r--debian/apt-daily.timer6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/apt-daily.timer b/debian/apt-daily.timer
index 8ac13b0e9..735da2440 100644
--- a/debian/apt-daily.timer
+++ b/debian/apt-daily.timer
@@ -1,11 +1,11 @@
[Unit]
-Description=Daily apt activities
+Description=Daily apt download activities
After=network-online.target
Wants=network-online.target
[Timer]
-OnCalendar=*-*-* 6:00
-RandomizedDelaySec=60m
+OnCalendar=*-*-* 6,18:00
+RandomizedDelaySec=12h
Persistent=true
[Install]