Skip to content

Commit

Permalink
chore: change current dir to /app/work
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu007 committed Aug 11, 2024
1 parent 99f3d2f commit 38fdcc3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions healthcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ log() {
echo "$(date '+%Y-%m-%d %H:%M:%S') $1" | tee -a "$LOG_FILE"
}
APP_START_PY="/app/server.py"
cp -p .env /app/work/
cd /app/work

# /app/server.pyが起動しているかチェック
if ! pgrep -f "python ${APP_START_PY}" >/dev/null; then
Expand Down

0 comments on commit 38fdcc3

Please sign in to comment.