#!/bin/sh # # $FreeBSD: head/databases/pgpool-II-22/files/pgpool_remote_start 340872 2014-01-24 00:14:07Z mat $ DEST=pgsql@$1 logger="logger -t pgpool -p local0.info" /bin/sh <&1 ssh $DEST '/usr/local/etc/rc.d/postgresql start' EOF