File: check-memcached-off

package info (click to toggle)
python-tooz 1.62.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 720 kB
  • sloc: python: 5,357; sh: 154; 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