Skip to content

Commit 8178ea4

Browse files
committed
clear the log on each new start to avoid confusion of older logs
1 parent 1e4638a commit 8178ea4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

AGENTS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ Moqui requires 3 servers: database (embedded H2), OpenSearch, and Moqui itself.
125125
pkill -9 -f "java.*moqui.war"; sleep 2
126126

127127
# === START SERVER ===
128-
nohup java -jar moqui.war > /tmp/moqui-server.log 2>&1 &
128+
echo "=== SERVER START - $(date) ===" > /tmp/moqui-server.log
129+
nohup java -jar moqui.war >> /tmp/moqui-server.log 2>&1 &
129130

130131
# Wait for startup (with timeout)
131132
for i in {1..40}; do

0 commit comments

Comments
 (0)