#!/bin/sh set -eu PORT="${DOUYIN_WORKBENCH_PORT:-3618}" lsof -tiTCP:"$PORT" -sTCP:LISTEN | xargs -r kill echo "douyin workbench stopped: $PORT"