chore: fix start/stop.sh to use this app's name, not the template's (frontend audit rank 15)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
4
start.sh
4
start.sh
@@ -9,7 +9,7 @@ LOG_FILE=".demo.log"
|
||||
if [ -f "$PID_FILE" ]; then
|
||||
existing="$(cat "$PID_FILE")"
|
||||
if [ -n "$existing" ] && kill -0 "$existing" 2>/dev/null; then
|
||||
echo "crema-app-aifirst-template already running (pid $existing)"
|
||||
echo "arcadia-admin already running (pid $existing)"
|
||||
exit 0
|
||||
fi
|
||||
rm -f "$PID_FILE"
|
||||
@@ -20,4 +20,4 @@ pid=$!
|
||||
echo "$pid" >"$PID_FILE"
|
||||
disown "$pid" 2>/dev/null || true
|
||||
|
||||
echo "crema-app-aifirst-template started (pid $pid) — logs: $LOG_FILE"
|
||||
echo "arcadia-admin started (pid $pid) — logs: $LOG_FILE"
|
||||
|
||||
Reference in New Issue
Block a user