hs.scripts/rollback/taiga/restart.sh

11 lines
268 B
Bash
Raw Permalink Normal View History

2024-04-25 13:49:12 +02:00
#!/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