mirror of
https://github.com/cgzirim/seek-tune.git
synced 2025-12-17 08:54:19 +00:00
Update stop_server.sh
This commit is contained in:
parent
fc236c1c30
commit
e8674eb729
1 changed files with 5 additions and 1 deletions
|
|
@ -1 +1,5 @@
|
||||||
sudo kill -9 $(sudo lsof -t -i:5000)
|
PID=$(sudo lsof -t -i:5000)
|
||||||
|
|
||||||
|
if [ -n "$PID" ]; then
|
||||||
|
sudo kill -9 $PID
|
||||||
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue