From 4a561036327f9735bf76bf76491cdc98ac0f308d Mon Sep 17 00:00:00 2001 From: joe Date: Mon, 25 Jul 2016 13:11:40 +0200 Subject: [PATCH] Serf reporter: add note on potentially stale configuration files. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 39716897..ac905b78 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,7 @@ You can use Nerve together with [Serf](https://www.serf.io/), which requires: * `serf_config_dir`: a directory to place files in that is readable/writable by both Serf and Nerve. * Nerve will place configuration files named `zzz_nerve__.json` under the directory specified with `serf_config_dir`. * Serf will read these configurations and must be configured to run with `-config-dir=` + * Please note that it is up to you (through e.g. configuration management code) to ensure no invalid configuration files are left under `serf_config_dir` when e.g. renaming services. (each nerve reporter creates/deletes files for services named ``, but renaming `` to `` on an existing machine could lead to stale configuration files remaining under `serf_config_dir`. * Nerve must have permissions to reload the serf process. (can be specified by the `serf_reload_command` parameter - defaults to `/usr/bin/killall -HUP serf`) * (You can for example install Serf and Nerve to run under the same user)