Files
youtube-dl/restart.sh

16 lines
343 B
Bash
Executable File

#!/bin/bash
# FlaskFarm 재시작 스크립트
# 사용법: ./restart.sh
cd /Volumes/WD/Users/Work/python/flaskfarm
# 기존 FlaskFarm 프로세스 종료
pkill -f "python -m flaskfarm.main" 2>/dev/null
# 잠시 대기
sleep 1
# 백그라운드 없이 재시작 (터미널에서 직접 실행용)
echo "FlaskFarm 시작 중..."
./gommi.sh