/lib/systemd/system/unattended-upgrades.service is in unattended-upgrades 1.1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | [Unit]
Description=Unattended Upgrades Shutdown
After=network.target local-fs.target
ConditionACPower=true
RequiresMountsFor=/var/log /var/run /var/lib /boot
Documentation=man:unattended-upgrade(8)
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStop=/usr/share/unattended-upgrades/unattended-upgrade-shutdown
TimeoutStopSec=1800
[Install]
WantedBy=multi-user.target
|