Systemd service halting boot process
Hey all! I am running whoogle-git from the AUR right now, and I have it's systemd service enabled on boot. When I do this, my boot time is lengthened by quite a bit. Here is the output of systemd-analyze critical-chain whoogle.service
https://i.imgur.com/bsQVPCz.png
As you can see, the service is "critical" and thus it needs to finish launching before continuing in the boot process. You can also see that the systemd-networkd-wait-online.service is taking 16 seconds, probably because it's waiting for the whoogle service.
I am not sure exactly what I should be googling for a result but if any of you guys could help me to make the service not halt the boot of my computer, it would be greatly appreciated! Maybe I could also give this solution to the creator of the AUR packages.
About this post
- Posted
- Archived
- Score
- 4 · 83% up
- Kind
- Image
- ID
- vibda2
3 comments
The fact that whoogle waits for network online is not an issue. You need to find out what is stopping you from getting to graphical.target. Look at the overall critical chain to see if whoogle is holding things up.
Sorry for late reply, but I don't think I reach graphical target because I use TTY and xinit to login.
You could try to disable (or even mask) the
systemd-networkd-wait-online.service. Do note that this might cause services (such as the whoogle service) that need an internet connection to fail to start.ps. afaik the systemd-networkd-wait-online service just blocks untill there is an internet connection, so disabling it just causes the connection to come up a bit later in the boot process