]> 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>
Mon, 27 Jun 2016 09:22:02 +0000 (11:22 +0200)
commit51d659e7d8cdce59f910eceeee68e2c2afdb70d4
tree831f8e8f6e5efd069224b7eaa22ec8418ee01f5b
parent25a694165ae46c159e0d91bf0b27717f00dbc66e
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
debian/apt-daily.service
debian/apt.apt-compat.cron.daily
debian/apt.systemd.daily