mirror of
https://github.com/mindverse/Second-Me.git
synced 2026-07-17 13:18:24 +00:00
* feat:remove conda from setup * cool. more code about removing conda & env * optimize script * add python check * optimize setup * optimize setup * add warning info * optimize check * add node check & npm check * add cmake install suggestion * add poetry suggestion * add python command check * add python tools * add poetry * add graphrag poetry install command optimization * active poetry shell * fix duplicated log * avoid poetry multipul active * add sqlite3 check * optimize sqlite3 setup suggestion * optimize * add gitignore * reverse compose detect
21 lines
454 B
Bash
Executable file
21 lines
454 B
Bash
Executable file
#!/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
|