File: installcheck

package info (click to toggle)
pgmemcache 2.3.0-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 276 kB
  • sloc: ansic: 975; sql: 221; makefile: 64; sh: 29
file content (14 lines) | stat: -rwxr-xr-x 170 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -eu

if [ $(id -u) = 0 ]; then
  user="-u postgres"
fi

set -x

memcached -p 33211 -d ${user:-}
trap "pkill memcached" EXIT

pg_buildext installcheck "$@"