#!/bin/bash set -e source $HOME/scripts/config.env echo echo ">>> Attempting to restart the application at $domain..." echo ">>> If it is not detected try to properly load the environment" echo ">>> Example: su - $pac-$user" echo passenger-config restart-app $domain