#!/bin/bash if [ -f /opt/front-dev/backend.pid ]; then PID=$(cat /opt/front-dev/backend.pid) kill $PID 2>/dev/null && echo "Dev backend (PID $PID) stopped" || echo "Dev backend not running" rm /opt/front-dev/backend.pid else echo "No PID file found" fi