File: check-memcached-off

package info (click to toggle)
python-tooz 2.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 764 kB
  • sloc: python: 5,629; sh: 147; makefile: 25
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