I am following this guide
and this guide https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-uwsgi-and-nginx-on-ubuntu-16-04
https://www.digitalocean.com/community/tutorials/understanding-systemd-units-and-unit-files
to set up a restart of a flask app service on ubuntu 16.04.
I am using also neo4j and elasticsearch servers.
Which directive to instruct flask app for restarting after that both servers are running, in case of reboot?