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:
6
stop.sh
6
stop.sh
@@ -6,7 +6,7 @@ cd "$(dirname "$0")"
|
||||
PID_FILE=".demo.pid"
|
||||
|
||||
if [ ! -f "$PID_FILE" ]; then
|
||||
echo "crema-app-aifirst-template not running (no .demo.pid)"
|
||||
echo "arcadia-admin not running (no .demo.pid)"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
@@ -15,9 +15,9 @@ pid="$(cat "$PID_FILE")"
|
||||
if [ -n "$pid" ] && kill -0 "$pid" 2>/dev/null; then
|
||||
pkill -P "$pid" 2>/dev/null || true
|
||||
kill "$pid" 2>/dev/null || true
|
||||
echo "crema-app-aifirst-template stopped (pid $pid)"
|
||||
echo "arcadia-admin stopped (pid $pid)"
|
||||
else
|
||||
echo "crema-app-aifirst-template pid $pid not alive, cleaning up"
|
||||
echo "arcadia-admin pid $pid not alive, cleaning up"
|
||||
fi
|
||||
|
||||
rm -f "$PID_FILE"
|
||||
|
||||
Reference in New Issue
Block a user