From e6967a75e76486a2fe6a11f3a87f2cac13bf26e6 Mon Sep 17 00:00:00 2001 From: wzeth Date: Mon, 20 Jun 2016 09:59:03 +0000 Subject: [PATCH] document custom config locations --- doc/srnd.md | 6 ++++++ 1 file changed, 6 insertions(+) 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`.