From 496313fb8e83af2ba71f6ce3d729be687c293dfd Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 26 Apr 2017 20:03:56 +0200 Subject: 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 --- debian/apt-daily-upgrade.service | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 debian/apt-daily-upgrade.service (limited to 'debian/apt-daily-upgrade.service') diff --git a/debian/apt-daily-upgrade.service b/debian/apt-daily-upgrade.service new file mode 100644 index 000000000..bf2776ac8 --- /dev/null +++ b/debian/apt-daily-upgrade.service @@ -0,0 +1,9 @@ +[Unit] +Description=Daily apt upgrade and clean activities +Documentation=man:apt(8) +ConditionACPower=true +After=apt-daily.service + +[Service] +Type=oneshot +ExecStart=/usr/lib/apt/apt.systemd.daily install -- cgit v1.2.3