apt-daily.service
Tofloor
poster avatar
robertsala
deepin
2018-10-07 04:19
Author
apt-daily.service slows down boot. is it a must for it to start at boot? can it not run in the background once it reaches the desktop? if not, can we tweak the time it starts at boot?
Reply Favorite View the author
All Replies
dance707
deepin
2018-10-08 02:16
#1
The apt-datly-upgrade.timer and apt-daily.timer are timers not startup services. To check the speed of start up, type in terminal  systemd-analyze, and to see what slows down use systemd-analyze blame.
I think you will find LVM services take a lot of time.
Reply View the author
robertsala
deepin
2018-12-15 04:19
#2
This was the tip that worked for me. This is a Debian bug #844453. apt-daily.service shouldn’t be run during boot, but only some time afterward. As a workaround, do sudo systemctl edit apt-daily.timer and paste the following text into the editor window:
This command creates a directory called apt-daily.timer.d under /etc/systemd/system/ with  a file named override.conf with -

[Timer]
OnBootSec=15min
OnUnitActiveSec=1d
AccuracySec=1h
RandomizedDelaySec=30min
Reply View the author