Changed loading external kustvakt.conf and jdbc.properties
to use /data folder (#598)
Change-Id: I0431d6fa76e68a90821234f90a626d999b150aac
diff --git a/src/main/resources/default-config.xml b/src/main/resources/default-config.xml
index 291271c..57e2f8d 100644
--- a/src/main/resources/default-config.xml
+++ b/src/main/resources/default-config.xml
@@ -29,6 +29,7 @@
<array>
<value>classpath:kustvakt.conf</value>
<value>file:./kustvakt.conf</value>
+ <value>file:./data/kustvakt.conf</value>
</array>
</property>
</bean>
@@ -40,12 +41,14 @@
<array>
<value>classpath:properties/jdbc.properties</value>
<value>file:./jdbc.properties</value>
+ <value>file:./data/jdbc.properties</value>
<value>classpath:properties/mail.properties</value>
<value>file:./mail.properties</value>
<value>classpath:properties/hibernate.properties</value>
<value>classpath:kustvakt.conf</value>
<value>file:./kustvakt.conf</value>
+ <value>file:./data/kustvakt.conf</value>
</array>
</property>
</bean>