diff --git a/doc/srnd.md b/doc/srnd.md index 21a43e8..3a6139a 100644 --- a/doc/srnd.md +++ b/doc/srnd.md @@ -126,3 +126,9 @@ All pprof-related settings. #####minimize_html * `0`: do not minimize HTML * `1`: minimize HTML + +##Placing configuration elsewhere + +By default, `srnd.ini` must be placed in the working directory (wherever you have the `srndv2` binary). If you want to place the `srnd.ini` config file elsewhere, you can define an environment varialbe in the `~/.profile` for the user that runs `srndv2`. + +If you would like to use, for example, `/etc/nntpchan/my_srnd_config.ini`, simply add `export SRND_INI_PATH=/etc/nntpchan/my_srnd_config.ini` to `~/.profile`.