Configfiles outside initDB dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I want to have postgresql.conf and pg_hba.conf outside the directory created by initDB.

$PGDATA points to the directory the config files reside in (and nothing else) and in postgresql.conf the option "data_directory" is set to the directory containing the cluster created by initDB. I can use pg_ctl start but pg_ctl stop failes as it expects the pid file in the dir with the config files. I tried the option "external_pid_file". A second pid file in the config files dir is created but never deleted.

How to do it correctly?

Thanks

--
Regards,
Hannes Dorbath


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux