Quellcode durchsuchen

example of running with a config

tags/v0.8.2
Sean Enck vor 7 Jahren
Ursprung
Commit
f12cfe97fc
Es ist kein Account mit der E-Mail-Adresse des Committers verbunden
1 geänderte Dateien mit 21 neuen und 0 gelöschten Zeilen
  1. 21
    0
      README.md

+ 21
- 0
README.md Datei anzeigen

@@ -135,6 +135,27 @@ oragono-web mkcerts
135 135
 oragono-web run
136 136
 ```-->
137 137
 
138
+### Configuration
139
+
140
+* 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)
141
+
142
+For example, to change the logging destination edit `ircd.yaml` and change this line:
143
+```
144
+    filename: ircd.log
145
+```
146
+
147
+To this:
148
+```
149
+    filename: /var/log/ircd.log
150
+```
151
+
152
+* When using oragono the `--conf` option can be used to change which/where the configuration file is read from.
153
+
154
+For example:
155
+```
156
+oragono run --conf /path/to/ircd.yaml
157
+```
158
+
138 159
 # Credits
139 160
 
140 161
 * Jeremy Latt, creator of Ergonomadic, <https://github.com/jlatt>

Laden…
Abbrechen
Speichern