mirror of
https://github.com/status-im/deps-lock-snitch-bot.git
synced 2025-02-23 16:48:19 +00:00
8 lines
160 B
Bash
Executable File
8 lines
160 B
Bash
Executable File
#!/bin/bash
|
|
|
|
APP_PORT=3000
|
|
APP_PID="$(lsof -i :${APP_PORT} | awk 'NR!=1 {print $2}' | sort -u | tr '\r\n' ' ')"
|
|
if [ ! -z "$APP_PID" ]; then
|
|
kill $APP_PID
|
|
fi
|