From b32b5fd5312091e6bf1ad7eabcb382f1906977a1 Mon Sep 17 00:00:00 2001 From: Sean Du Date: Thu, 4 Jun 2026 03:19:41 +0800 Subject: [PATCH] Overwrite log on start Signed-off-by: Sean Du --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 5912438..a8fae26 100755 --- a/run.sh +++ b/run.sh @@ -44,7 +44,7 @@ start_app() { exit 1 fi - nohup "$APP_BIN" >>"$LOG_FILE" 2>&1 & + nohup "$APP_BIN" >"$LOG_FILE" 2>&1 & local pid=$! echo "$pid" >"$PID_FILE" sleep 1