freebsd-ports/databases/pgpool-II-23/files/pgpool_remote_start
Jun Kuriyama d97eea7b12 - Upgrade to 2.2.4.
- Add my scripts in $FILES dir, but not installed (no warranty).
2009-08-24 08:56:56 +00:00

13 lines
168 B
Bash

#!/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