feat: add restart script and update configuration

This commit is contained in:
2025-12-29 02:17:49 +09:00
parent 0c53e1d2f2
commit 97d203cb86
2 changed files with 17 additions and 2 deletions

View File

@@ -28,8 +28,8 @@ port: 9099
# 소스 수정시 재로딩
# 두번 로딩되는 것을 감안하여 코딩해야 함.
debug: false
# debug: true
debug: true
# debug: false
# 플러그인 업데이트 여부
# - true인 경우 로딩시 플러그인을 업데이트 함.

15
restart.sh Executable file
View 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