correct kill
-PROCESS_ID=`ps -a | grep target/release/server | grep -o -E '[0-9]+' | head -1 | sed -e 's/^0\+//'`
+PROCESS_ID=`ps aux | grep target/release/server | grep -o -E '[0-9]+' | head -1 | sed -e 's/^0\+//'`
kill -9 $PROCESS_ID
echo server stopped
\ No newline at end of file
