Skip to content

Instantly share code, notes, and snippets.

@dlangille dlangille/all hosts
Last active Nov 12, 2019

Embed
What would you like to do?
FreshPorts - changing the database server
$ grep pg03 /usr/local/etc/nrpe.cfg
command[check_pgsql] =/usr/local/libexec/nagios/check_pgsql -d template1 -H pg03.int.unixathome.org -l nagios -p '[redacted]' -o 'sslmode=require'
$ cd /usr/local/etc/freshports
$ sudo grep pg03 *
config.pm:$FreshPorts::Config::host = 'pg03.int.unixathome.org';
config.sh:HOST='pg03.int.unixathome.org'
$ cd /usr/local/etc/freshports
$ sudo grep pg03 *
database.php: $db = pg_connect("host=pg03.int.unixathome.org dbname=[redacted] user=[redacted] password=[redacted] sslmode=require");
fp-listen.ini:HOST = pg03.int.unixathome.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.