Signed-off-by: Andy Witter <awitter@georgialibraries.org>
#echo "kernel.shmall = 4194304" >> /etc/sysctl.d/evergreen_db.conf #TODO dislbed for now
Install_DB_Deps
sed -i "s^#listen_addresses = 'localhost'^listen_addresses = '*'^g" /etc/postgresql/9.1/main/postgresql.conf
+ sed -i "s^#log_destination = 'stderr'^log_destination = 'syslog'^g" /etc/postgresql/9.1/main/postgresql.conf
+ sed -i "s^#syslog_facility = 'LOCAL0'^syslog_facility = 'LOCAL3'^g" /etc/postgresql/9.1/main/postgresql.conf
+ sed -i "s^#syslog_ident = 'postgres'^syslog_ident = 'postgres'^g" /etc/postgresql/9.1/main/postgresql.conf
#Init_DB_9 #TODO disabled. Now done the new way from the 1st brick head.
Add_EG_DB_User #TODO disabled same as above