Files
monitor/restart_services.sh
2026-01-04 16:28:26 +01:00

15 lines
319 B
Bash

#!/bin/bash
# Configuration
APP_DIR="/home/asf/testarena_backend"
echo "Restarting services in $APP_DIR..."
cd $APP_DIR || { echo "Directory $APP_DIR not found"; exit 1; }
# Restart containers without rebuilding
echo "Restarting Docker containers..."
docker-compose restart
echo "Services restarted successfully."