File: check-memcached-off

package info (click to toggle)
python-tooz 6.3.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 840 kB
  • sloc: python: 5,530; sh: 158; makefile: 27
file content (11 lines) | stat: -rwxr-xr-x 169 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

PID_PATH=`pwd`/TEST_PID_MEMCACHE.pid

if [ -r "${PID_PATH}" ] ; then
	PID=`cat ${PID_PATH}`
	echo "Killing process ${PID}"
	kill -9 ${PID} || true
fi