summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-01-19 18:17:20 +0200
committerytti <saku@ytti.fi>2016-01-19 18:17:20 +0200
commit93593578aabba6cbbc11b331ead3c4271b3569f6 (patch)
tree502d08204bc1c16896413d9d3d1746f3ce724723 /README.md
parent7948a07b5b5916809ab02d18cd120b3afaf48bfd (diff)
parenteb3d86fe6debc286d74e0eed5a61d5a564b324c4 (diff)
Merge pull request #273 from ocadotechnology/wip-auto-reload-config
Add the option of automatically reloading the config
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index e4c02e8..a6766ec 100644
--- a/README.md
+++ b/README.md
@@ -230,6 +230,11 @@ rvm use --default 2.1.2
root@bla:~#
```
+If you want to have the config automatically reloaded (e.g. when using a http source that changes)
+```
+ root@bla:~# docker run -v /etc/oxidized:/root/.config/oxidized -p 8888:8888/tcp -e CONFIG_RELOAD_INTERVAL=3600 -t oxidized/oxidized:latest oxidized
+```
+
## Cookbook
### Debugging
In case a model plugin doesn't work correctly (ios, procurve, etc.), you can enable live debugging of SSH/Telnet sessions. Just add a ```debug``` option, specifying a log file destination to the ```input``` section.