Re: What is the accepted practice to automate initdb (PostgreSQL 9.6) to a non-default directory?

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

 



For reference by any future novices who might stumble across this thread (and for the morbid curiosity of anyone on the list), here's the shell script I've generated to solve this challenge in an AWS EC2 environment:
https://github.com/hackoregon/civic-devops/blob/master/bin/create-database-development.sh

On 2 March 2018 at 16:18, Mike Lonergan <mikethecanuck@xxxxxxxxx> wrote:
David, thank you as well - that article is fantastic.  I'll give this a whirl, but on its face it looks like exactly the solution we're after.  That approach to embedded the env var for the service is new to me - addresses a complete blank in my knowledge.

Thanks!
Mike

On 2 March 2018 at 16:13, David G. Johnston <david.g.johnston@xxxxxxxxx> wrote:
On Fri, Mar 2, 2018 at 5:03 PM, Mike Lonergan <mikethecanuck@xxxxxxxxx> wrote:

I'll definitely look into the launch script, see what I can do there.  Any other thoughts folks have would be more than welcome.
 
​This recent Planet PostgreSQL link​ seems worth a read.


David J.




[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