commit dd0a7ca307e1c22c99f5454f9459a253ac1398d8 Author: Karsten Loesing karsten.loesing@gmx.net Date: Tue Nov 14 21:18:17 2017 +0100
Define defaults for database credentials. --- src/main/resources/jetty.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/jetty.xml b/src/main/resources/jetty.xml index 3870fa7..e1e4d4d 100644 --- a/src/main/resources/jetty.xml +++ b/src/main/resources/jetty.xml @@ -29,10 +29,10 @@ <Arg> <New class="org.postgresql.ds.PGPoolingDataSource"> <Set name="user"> - <SystemProperty name="exonerator.db.user" /> + <SystemProperty name="exonerator.db.user" default="metrics" /> </Set> <Set name="password"> - <SystemProperty name="exonerator.db.pw" /> + <SystemProperty name="exonerator.db.pw" default="password" /> </Set> <Set name="databaseName">exonerator</Set> <Set name="serverName">localhost</Set>
tor-commits@lists.torproject.org