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

15 lines
402 B
SYSTEMD
Raw Normal View History

2022-11-03 19:10:26 +08:00
[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