Blame public/fs/home/pgsql/data/postgresql-conf.sh

root@culturestrings 2caf08
#!/bin/sh
root@culturestrings 2caf08
root@culturestrings 2caf08
set -eu
root@culturestrings 2caf08
root@culturestrings 2caf08
sitezone="$1"
root@culturestrings 2caf08
root@culturestrings 2caf08
cfg_script="$0"
root@culturestrings 2caf08
cfg_srcdir=$(cd -- "${cfg_script%/*}/" ; pwd -P)
root@culturestrings 2caf08
root@culturestrings 2caf08
source /root/config/private/config/server.ports
root@culturestrings 2caf08
source /root/config/private/config/hostinfo/${sitezone}
root@culturestrings 2caf08
root@culturestrings 2caf08
sed -e 's/@vpn_net4@/'${vpn_net4}'/g' \
root@culturestrings 2caf08
	-e 's/@vpn_ipv4@/'${vpn_ipv4}'/g' \
root@culturestrings 2caf08
	"${cfg_srcdir}/postgresql.conf.in"