DEV Community

Discussion on: How to Post your Flask App in Ubuntu

Collapse
 
peter279k profile image
peter279k

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 :).

And it would be better to change into:

After=network-online.target
Wants=network-online.target