I also suggest that it should set the network-online.target for Wants and After value setting on myproject.service.
The network-online.target is a target that actively waits until the nework is "up" and you can look at more details on Concepts in systemd section via this reference link :).
I also suggest that it should set the
network-online.target
forWants
andAfter
value setting onmyproject.service
.The network-online.target is a target that actively waits until the nework is "up" and you can look at more details on
Concepts in systemd
section via this reference link :).And it would be better to change into: