diff options
author | Mike Bryant <m@ocado.com> | 2016-01-19 14:07:54 +0000 |
---|---|---|
committer | Mike Bryant <m@ocado.com> | 2016-01-19 14:07:54 +0000 |
commit | eb3d86fe6debc286d74e0eed5a61d5a564b324c4 (patch) | |
tree | a706d1bd2a714c2ba672ef93e01a23d7e6a48e06 /README.md | |
parent | 3e72b6a35f2aff6a299019c34f4b57e97ba480aa (diff) |
Add the option of automatically reloading the config every X seconds. Fixes #271
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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. |