feat: add restart script and update configuration
This commit is contained in:
15
restart.sh
Executable file
15
restart.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user