Sometimes systemd feels the urge to wait 2 minutes for some service which makes troubles and then continues to boot or shutdown. Two minute timeout is hopeless insane for this default configuration, even 5 seconds feels like endless waiting.
The timeout can be set in
/etc/systemd/system.conf. Just add the following lines or change them if they already exist:
This Avahi mDNS daemon is for zeroconf. Just uninstall this bloody crApple rubbish:
apt-get remove --purge avahi-daemon
Another annoying delay is caused by the network code trying to get an IP address over a NIC where no cable is plugged in. I have no solution for this problem yet, but with lower timeout it’s not that awful anymore.