Create db from postgis template
Check file exists before downloading
Create postgis template
Stop nginx service if already started