#!/bin/bash
if [ -f /etc/profile.d/proxy.sh ]; then
source /etc/profile.d/proxy.sh
fi
cpus=$1

source /var/lib/postgresql/virt_env/healthcheck/bin/activate
pushd /var/lib/postgresql/healthcheck/
python run_phc.py $cpus
popd
