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-04 22:49:48 +0200
commit496313fb8e83af2ba71f6ce3d729be687c293dfd (patch)
treee020305db1a779c453998a6cc7ff00711ef384bf /debian/apt-daily.timer
parentea49b66372912354143b810e2826301d651a2b37 (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
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]