kylin-system-updater/unattended-upgrades/kylin-unattended-upgrades.s...

15 lines
402 B
SYSTEMD

[Unit]
Description=Unattended Upgrades Shutdown
After=network.target local-fs.target systemd-logind.service kylin-system-updater.service
RequiresMountsFor=/run /var/log /var/run /var/lib /boot
Documentation=man:unattended-upgrade(8)
[Service]
ExecStart=/usr/bin/kylin-unattended-upgrade-shutdown --wait-for-signal
Type=idle
#KillMode=process
#TimeoutStopSec=1800
[Install]
WantedBy=multi-user.target