From 11417c1058e1b8441ee8f30f948e854b7a6ce89e Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sat, 9 Sep 2017 18:26:44 +0200 Subject: apt-daily: Pull in network-online.target in service, not timer There's no real point in pulling it in in the timer already, and it it somewhat saver to do so in the service. --- debian/apt-daily.service | 2 ++ debian/apt-daily.timer | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'debian') diff --git a/debian/apt-daily.service b/debian/apt-daily.service index d98f88ffe..c81d3ea01 100644 --- a/debian/apt-daily.service +++ b/debian/apt-daily.service @@ -2,6 +2,8 @@ Description=Daily apt download activities Documentation=man:apt(8) ConditionACPower=true +After=network-online.target +Wants=network-online.target [Service] Type=oneshot diff --git a/debian/apt-daily.timer b/debian/apt-daily.timer index 735da2440..3b5796217 100644 --- a/debian/apt-daily.timer +++ b/debian/apt-daily.timer @@ -1,7 +1,5 @@ [Unit] Description=Daily apt download activities -After=network-online.target -Wants=network-online.target [Timer] OnCalendar=*-*-* 6,18:00 -- cgit v1.2.3