From 51d659e7d8cdce59f910eceeee68e2c2afdb70d4 Mon Sep 17 00:00:00 2001 From: Nicolas Le Cam Date: Wed, 22 Jun 2016 21:39:38 +0200 Subject: 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 | 1 + 1 file changed, 1 insertion(+) (limited to 'debian/apt-daily.service') 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 -- cgit v1.2.3