summaryrefslogtreecommitdiffstats
path: root/debian/apt-daily.service
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 06:14:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 06:14:41 +0000
commite0c5d5bce70177b20afa2deee4c62e368a8b9c43 (patch)
treede36eff10a26ee736e19b557f531d03847487856 /debian/apt-daily.service
parentAdding upstream version 2.2.4. (diff)
downloadapt-e0c5d5bce70177b20afa2deee4c62e368a8b9c43.tar.xz
apt-e0c5d5bce70177b20afa2deee4c62e368a8b9c43.zip
Adding debian version 2.2.4.debian/2.2.4debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/apt-daily.service')
-rw-r--r--debian/apt-daily.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/apt-daily.service b/debian/apt-daily.service
new file mode 100644
index 0000000..f060487
--- /dev/null
+++ b/debian/apt-daily.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Daily apt download activities
+Documentation=man:apt(8)
+ConditionACPower=true
+After=network.target network-online.target systemd-networkd.service NetworkManager.service connman.service
+
+[Service]
+Type=oneshot
+ExecStartPre=-/usr/lib/apt/apt-helper wait-online
+ExecStart=/usr/lib/apt/apt.systemd.daily update
+