liljudd-website/kill-running-server.sh
aronmal 3c404ab5fa
refactor: Update time planning feature
- Update checksums for browser compatibility
- Add script to kill running server process
- Refactor time planning structure and handling
- Adjust database schema and type definitions accordingly
2024-03-15 10:59:41 +01:00

5 lines
165 B
Bash
Executable file

#!/bin/bash
# This script checks if a process is running on port 3000 and kills it if it's found
lsof -i TCP:3000 | grep LISTEN | awk '{print $2}' | xargs kill -9