Stopped Unattended Upgrades Shutdown
Oliver Grawert
ogra at ubuntu.com
Wed Jul 22 13:20:27 UTC 2020
hi,
Am Mittwoch, den 22.07.2020, 14:53 +0200 schrieb Lentes, Bernd:
>
> Jul 20 15:04:03 nc-idg systemd[1]: Stopped Unattended Upgrades
> Shutdown.
> > > What does it mean ? That the PC is shut down because of the
> > > Unattended Upgrades
> > > ?
> > > Or are these updates stopped because of the shutdown ?
> > >
the latter ...
$ cat /lib/systemd/system/unattended-upgrades.service
[Unit]
Description=Unattended Upgrades Shutdown
After=network.target local-fs.target systemd-logind.service
RequiresMountsFor=/run /var/log /var/run /var/lib /boot
Documentation=man:unattended-upgrade(8)
[Service]
ExecStart=/usr/share/unattended-upgrades/unattended-upgrade-shutdown --
wait-for-signal
KillMode=process
TimeoutStopSec=1800
[Install]
WantedBy=multi-user.target
$
it is the systemd unit to make sure you do not end up wit half
downloaded/corrupt packages.
since 18.04 all security upgrades are unattended upgrades in ubuntu by
default.
that systemd unit simply gracefully stops the unattended-upgrades
service ...
ciao
oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20200722/562116be/attachment.sig>
More information about the ubuntu-users
mailing list