diff options
author | Julian Andres Klode <jak@debian.org> | 2017-04-26 20:03:56 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-05-04 22:49:48 +0200 |
commit | 496313fb8e83af2ba71f6ce3d729be687c293dfd (patch) | |
tree | e020305db1a779c453998a6cc7ff00711ef384bf /debian/apt-daily-upgrade.timer | |
parent | ea49b66372912354143b810e2826301d651a2b37 (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-upgrade.timer')
-rw-r--r-- | debian/apt-daily-upgrade.timer | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/apt-daily-upgrade.timer b/debian/apt-daily-upgrade.timer new file mode 100644 index 000000000..79caf3b5c --- /dev/null +++ b/debian/apt-daily-upgrade.timer @@ -0,0 +1,11 @@ +[Unit] +Description=Daily apt upgrade and clean activities +After=apt-daily.timer + +[Timer] +OnCalendar=*-*-* 6:00 +RandomizedDelaySec=60m +Persistent=true + +[Install] +WantedBy=timers.target |