freebsd-ports/databases/pgpool-II-30/files/pgpool_remote_start

14 lines
168 B
Text
Raw Normal View History

#!/bin/sh
#
# $FreeBSD$
DEST=pgsql@$1
logger="logger -t pgpool -p local0.info"
/bin/sh <<EOF | ${logger} 2>&1
ssh $DEST '/usr/local/etc/rc.d/postgresql start'
EOF