mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
FreeBSD 9 support
This commit is contained in:
25
postgresql/config-freebsd-9-*
Normal file
25
postgresql/config-freebsd-9-*
Normal file
@@ -0,0 +1,25 @@
|
||||
basedb=template1
|
||||
pass=
|
||||
hba_conf=/usr/local/pgsql/data/pg_hba.conf
|
||||
pid_file=/usr/local/pgsql/data/postmaster.pid
|
||||
stop_cmd=/usr/local/etc/rc.d/postgresql forcestop
|
||||
start_cmd=/usr/local/etc/rc.d/postgresql forcestart
|
||||
setup_cmd=/usr/local/etc/rc.d/postgresql forceinitdb
|
||||
perpage=25
|
||||
psql=/usr/local/bin/psql
|
||||
login=pgsql
|
||||
plib=/usr/local/lib
|
||||
nodbi=0
|
||||
dump_cmd=/usr/local/bin/pg_dump
|
||||
rstr_cmd=/usr/local/bin/pg_restore
|
||||
sameunix=0
|
||||
access=*: *
|
||||
blob_mode=0
|
||||
add_mode=1
|
||||
date_subs=0
|
||||
style=0
|
||||
max_dbs=50
|
||||
simple_sched=0
|
||||
access_own=0
|
||||
max_text=1000
|
||||
webmin_subs=0
|
||||
@@ -25,6 +25,11 @@ if (!-x $config{'psql'} || -d $config{'psql'}) {
|
||||
# Check for alternate config file, and use
|
||||
if (!$hba_conf_file && -r $config{'alt_hba_conf'} && &is_postgresql_local()) {
|
||||
($hba_conf_file) = split(/\t+/, $config{'hba_conf'});
|
||||
my $hba_conf_dir = $hba_conf_file;
|
||||
$hba_conf_dir =~ s/\/([^\/]+)$//;
|
||||
if (!-d $hba_conf_dir) {
|
||||
&make_dir($hba_conf_dir, 0777);
|
||||
}
|
||||
©_source_dest($config{'alt_hba_conf'}, $hba_conf_file);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user