#!/bin/bash # Start Nginx and output to /dev/null nginx -t #service nginx start &> /dev/null # If Nginx started successfully, then start the Flask application python app.py