Allow stop script to kill a port

This commit is contained in:
sas.fajri
2026-04-13 20:43:44 +07:00
parent 2948a0abf9
commit 50921294de
2 changed files with 43 additions and 0 deletions

View File

@@ -35,6 +35,18 @@ Stop the background server with:
./stop.sh
```
To stop a specific running port:
```bash
./stop.sh 5201
```
or:
```bash
PORT=5201 ./stop.sh
```
If you run the server in the foreground, stop it with `Ctrl+C`.
## Notes