hs.scripts/rollback/taiga/restart.sh
2024-04-25 13:49:12 +02:00

11 lines
268 B
Bash

#!/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