Commit f3ee2416 authored by leonardo menezes's avatar leonardo menezes Committed by GitHub
Browse files

document using non default config file

closes #53
parent e04eec47
Loading
Loading
Loading
Loading
+16 −1
Original line number Diff line number Diff line
@@ -37,6 +37,21 @@ It is also possible to avoid the creation of the RUNNING_PID file by setting the
```yaml
pidfile.path = "/dev/null"
```
### Using an alternate configuration file
It is possible to define an alternate configuration file(other than conf/application.conf). This can be achieved in two different ways:

#### -Dconfig.resource
This will pick the specified file from the classpath.
```
bin/cerebro -Dconfig.resource=alternate.conf 
```

#### -Dconfig.file
This will pick the specified file from a directory other than the apps dir.
```
bin/cerebro -Dconfig.fiel=/some/other/dir/alternate.conf 
```


### List of known hosts
A list of predefined hosts can be defined for quicker access by editing conf/application.conf file. If host is password protected, authentication should be also set.