]> git.saurik.com Git - apt.git/commit
Use the ConditionACPower feature of systemd in the apt-daily service
authorNicolas Le Cam <niko.lecam@gmail.com>
Wed, 22 Jun 2016 19:39:38 +0000 (21:39 +0200)
committerJulian Andres Klode <jak@debian.org>
Wed, 31 Aug 2016 11:13:41 +0000 (13:13 +0200)
commitd06d38bcc3335ee6bb448add9b91952e640dae05
treef5ec410be128d363f9351e18eadb49e9055e1b9c
parenta55db465eca2c4d9f0cb6f36640ee6a70634052d
Use the ConditionACPower feature of systemd in the apt-daily service

.. instead of hardcoding the functionnality in the apt.systemd.daily
script.

Also make the compatibility cron job provide the same functionnality
for systems that do not use systemd.

Closes: #827930
(cherry picked from commit 51d659e7d8cdce59f910eceeee68e2c2afdb70d4)
debian/apt-daily.service
debian/apt.apt-compat.cron.daily
debian/apt.systemd.daily