stop.sh 147 B

12345
  1. PROXYDIR="$PWD/$(dirname $0)"
  2. PIDFILE="$PROXYDIR/proxy.pid"
  3. start-stop-daemon --stop --pidfile $PIDFILE --make-pidfile && rm $PROXYDIR/proxy.pid