From e06c49c2c3436da780ed54ac77d3344db15ac6d7 Mon Sep 17 00:00:00 2001 From: Balint Reczey Date: Tue, 25 Jul 2017 11:35:53 +0200 Subject: [PATCH] Kill apt-daily-upgrade.service using SIGUSR1 SIGUSR1 is handled gracefully by unattended-upgrades and protects package installation from being killed early. The timeout of 900 seconds after which apt-daily-upgrade.service is killed is in sync with unattended-upgrades's timer. LP: #1690980 --- debian/apt-daily-upgrade.service | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/apt-daily-upgrade.service b/debian/apt-daily-upgrade.service index bf2776ac8..914719501 100644 --- a/debian/apt-daily-upgrade.service +++ b/debian/apt-daily-upgrade.service @@ -7,3 +7,6 @@ After=apt-daily.service [Service] Type=oneshot ExecStart=/usr/lib/apt/apt.systemd.daily install +KillSignal=SIGUSR1 +KillMode=process +TimeoutStopSec=900 -- 2.11.0