viewing paste Unknown #17346 | Bash

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/bash
 
cd `pwd`
 
h_server="./HashieldServer.exe"
 
 
 
if [ -f ${h_server}.pid ]; then
    pid=`cat ${h_server}.pid`
    kill ${pid}
fi
Viewed 576 times, submitted by milk.