| author | ymh <ymh.work@gmail.com> |
| Mon, 05 May 2014 11:36:41 +0200 | |
| changeset 647 | c28be856aad5 |
| parent 609 | 736fdedb7774 |
| 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"