diff options
author | Nicolas Le Cam <niko.lecam@gmail.com> | 2016-06-22 21:39:38 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-06-27 11:22:02 +0200 |
commit | 51d659e7d8cdce59f910eceeee68e2c2afdb70d4 (patch) | |
tree | 831f8e8f6e5efd069224b7eaa22ec8418ee01f5b /debian/apt-daily.service | |
parent | 25a694165ae46c159e0d91bf0b27717f00dbc66e (diff) |
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
Diffstat (limited to 'debian/apt-daily.service')
-rw-r--r-- | debian/apt-daily.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/apt-daily.service b/debian/apt-daily.service index 941263d05..904ed5d51 100644 --- a/debian/apt-daily.service +++ b/debian/apt-daily.service @@ -1,6 +1,7 @@ [Unit] Description=Daily apt activities Documentation=man:apt(8) +ConditionACPower=true [Service] Type=oneshot |