summaryrefslogtreecommitdiffstats
path: root/debian/apt-daily-upgrade.service
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 18:07:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 18:07:14 +0000
commit8a9229dbc7367a76c54f6f88c9c1738da260afc9 (patch)
tree9994217a3bd0e7839dd1d1e77e4072ca65e7affc /debian/apt-daily-upgrade.service
parentAdding upstream version 1.8.2.3. (diff)
downloadapt-8a9229dbc7367a76c54f6f88c9c1738da260afc9.tar.xz
apt-8a9229dbc7367a76c54f6f88c9c1738da260afc9.zip
Adding debian version 1.8.2.3.debian/1.8.2.3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/apt-daily-upgrade.service')
-rw-r--r--debian/apt-daily-upgrade.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/apt-daily-upgrade.service b/debian/apt-daily-upgrade.service
new file mode 100644
index 0000000..37a2499
--- /dev/null
+++ b/debian/apt-daily-upgrade.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Daily apt upgrade and clean activities
+Documentation=man:apt(8)
+ConditionACPower=true
+After=apt-daily.service 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 install
+KillMode=process
+TimeoutStopSec=900