Last active
November 12, 2019 00:54
-
-
Save dlangille/d7d5992bf343e1bd705bc98c80de1a54 to your computer and use it in GitHub Desktop.
FreshPorts - changing the database server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd /usr/local/etc/freshports | |
$ sudo grep pg03 * | |
config.pm:$FreshPorts::Config::host = 'pg03.int.unixathome.org'; | |
config.sh:HOST='pg03.int.unixathome.org' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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