Thursday, May 10, 2018

Ubuntu 18.04 slow boot (apt-daily.service)

This service doesn't need to be in boot
Edit the timer for some time later

sudo systemctl edit apt-daily.timer

with this:
# apt-daily timer configuration override
[Timer]
OnBootSec=1d
OnUnitActiveSec=1d
AccuracySec=1h
RandomizedDelaySec=1d


To see if it works:
systemd-analyze blame


No comments:

Post a Comment

Git get all remote branches

git branch -r \ | grep -v '\->' \ | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" \ | while read remote; do \ git branc...