example of running with a config

This commit is contained in:
Sean Enck 2017-06-26 10:34:54 -04:00
parent 325ed3e112
commit f12cfe97fc
No known key found for this signature in database
GPG Key ID: F08D2E576641A175
1 changed files with 21 additions and 0 deletions

View File

@ -135,6 +135,27 @@ oragono-web mkcerts
oragono-web run oragono-web run
```--> ```-->
### Configuration
* Locations where oragono will read/write files can be configured in the `ircd.yaml` file. (**Note:** this applies to multiple options like database location and certificates as well)
For example, to change the logging destination edit `ircd.yaml` and change this line:
```
filename: ircd.log
```
To this:
```
filename: /var/log/ircd.log
```
* When using oragono the `--conf` option can be used to change which/where the configuration file is read from.
For example:
```
oragono run --conf /path/to/ircd.yaml
```
# Credits # Credits
* Jeremy Latt, creator of Ergonomadic, <https://github.com/jlatt> * Jeremy Latt, creator of Ergonomadic, <https://github.com/jlatt>