diff options
author | Balint Reczey <balint.reczey@canonical.com> | 2017-07-25 11:35:53 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-09-13 18:09:29 +0200 |
commit | 8d32cfbe25402f9d2cc0e858b408c4e873679380 (patch) | |
tree | 56cc65cca84dae0e321f8e2431cee8b76bd9a35e /apt-private/private-source.h | |
parent | 4179cc6b1397c6e47234c8b471a0eaadd26375a7 (diff) |
Gracefully terminate process when stopping apt-daily-upgrade
The main process is guessed by systemd. This prevents killing dpkg
run by unattended-upgrades in the middle of installing packages
and ensures graceful shutdown.
The timeout of 900 seconds after which apt-daily-upgrade.service
is killed is in sync with unattended-upgrades's timer.
LP: #1690980
(cherry picked from commit 78bc10d4702b30b46d802294ac43cffc34d9c431)
Diffstat (limited to 'apt-private/private-source.h')
0 files changed, 0 insertions, 0 deletions