Allow System properties to override configuration

Fixes #15.
pull/16/head
Andrew Gaul 2014-10-10 07:08:27 -07:00
rodzic 93f280bdca
commit 4baaca86f9
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -103,6 +103,7 @@ public final class S3Proxy {
try (InputStream is = new FileInputStream(new File(args[1]))) {
properties.load(is);
}
properties.putAll(System.getProperties());
String provider = properties.getProperty(Constants.PROPERTY_PROVIDER);
String identity = properties.getProperty(Constants.PROPERTY_IDENTITY);