+Before=network.target
This is absolutely necessary too, otherwise NetworkManager can be stopped (on shutdown/reboot) before services that require the network to be up get shut down. Thus these services often hang then.
+Before= network. target
This is absolutely necessary too, otherwise NetworkManager can be stopped (on shutdown/reboot) before services that require the network to be up get shut down. Thus these services often hang then.