| author | ymh <ymh.work@gmail.com> |
| Wed, 12 Mar 2014 17:19:23 +0100 | |
| changeset 608 | 047aab3a53cf |
| parent 597 | 6cbcec19079b |
| permissions | -rwxr-xr-x |
#!/bin/bash PID=$(cat /tmp/testserver.pid|cut -d"|" -f1) OUTFILE=$(cat /tmp/testserver.pid|cut -d"|" -f2) echo "Kill test server pid $PID" kill $PID echo "Test server log:" echo "================================================================================" cat "$OUTFILE" echo "================================================================================" echo "Clean testserver output" rm "$OUTFILE"