comparison db_schema/Dockerfile @ 1174:2e59a51d914f pgaudit

Integrate Audit Log Analyzer. XXX: Startup of the Log Analyzer will only be successful when patched because of a bug that prevents it from recovering from errors (i.e. while postgres is starting).
author Tom Gottfried <tom@intevation.de>
date Fri, 11 Nov 2016 16:52:49 +0100
parents eefd0ca9e42f
children
comparison
equal deleted inserted replaced
1173:5239306ee55e 1174:2e59a51d914f
107 /usr/lib/postgresql/9.5/bin/pg_ctl stop 107 /usr/lib/postgresql/9.5/bin/pg_ctl stop
108 108
109 # 109 #
110 # Set the default command to run when starting the container 110 # Set the default command to run when starting the container
111 # 111 #
112 CMD ["/usr/lib/postgresql/9.5/bin/postgres", \ 112 CMD /usr/lib/postgresql/9.5/bin/postgres --config_file=$PGCONF & \
113 "--config_file=/etc/postgresql/9.5/main/postgresql.conf"] 113 pgaudit/analyze/bin/pgaudit_analyze /var/log/postgresql/ \
114 114 --log-file /var/log/postgresql/pgaudit_analyze.log
115 # To use pgaudit/analyze from within the container:
116 # psql -f pgaudit/analyze/sql/audit.sql lada
117 # cd pgaudit/analyze/bin
118 # ./pgaudit_analyze /var/log/postgresql/ \
119 # --log-file /var/log/postgresql/pgaudit_analyze.log
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)