File size: 454 Bytes
01d5a5d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

# Source the logging utilities
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "${SCRIPT_DIR}/utils/logging.sh"

# Main function to restart services
restart_services() {
    log_section "RESTARTING SERVICES"
    
    # Stop services
    log_info "Stopping services..."
    ./scripts/stop.sh
    
    # Start services
    log_info "Starting services..."
    ./scripts/start.sh
}

# Execute restart services
restart_services