diff --git a/JWT/deploy/shutdown.sh b/JWT/deploy/shutdown.sh new file mode 100644 index 0000000..98335a8 --- /dev/null +++ b/JWT/deploy/shutdown.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +pid=$(sudo lsof -t -i :8080) +if [ -n pid ]; then + kill $(sudo lsof -t -i :8080) +fi