From 97d203cb868cc800a2c6f4d434d0c285542bd279 Mon Sep 17 00:00:00 2001 From: projectdx Date: Mon, 29 Dec 2025 02:17:49 +0900 Subject: [PATCH] feat: add restart script and update configuration --- config.yaml | 4 ++-- restart.sh | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100755 restart.sh diff --git a/config.yaml b/config.yaml index 8ec692b..9686777 100644 --- a/config.yaml +++ b/config.yaml @@ -28,8 +28,8 @@ port: 9099 # 소스 수정시 재로딩 # 두번 로딩되는 것을 감안하여 코딩해야 함. -debug: false -# debug: true +debug: true +# debug: false # 플러그인 업데이트 여부 # - true인 경우 로딩시 플러그인을 업데이트 함. diff --git a/restart.sh b/restart.sh new file mode 100755 index 0000000..d445942 --- /dev/null +++ b/restart.sh @@ -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