Second-Me/scripts/restart.sh
KKKKKKKevin 4c71dce682
Feat: Remove conda from setup (#195)
* 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
2025-04-10 19:39:26 +08:00

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