diff options
author | nico <nico@magicbroccoli.de> | 2020-06-29 18:59:16 +0200 |
---|---|---|
committer | nico <nico@magicbroccoli.de> | 2020-06-29 18:59:16 +0200 |
commit | 044e0334d2bfb9c4b076afc562e4fb3d17c7db20 (patch) | |
tree | 73137b27409b00a45c76c2bfbf4b5e9d029a4ff1 /README.md | |
parent | 5f0cb289c1d91513427ffdc8f646bc86516c2759 (diff) |
flake8 fixup
* fix trailing/ leading whitespaces
* fix None comparison to use is
+ add noqa ignore statements for the influx escape replacements
+ add noqa ignore statements around the bare excepts
TODO: This is only a temporary fix for most of the bare excepts, we need further specify those.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -48,7 +48,7 @@ listen: acl: api: - user: + user: - "api_user@magicbroccoli.de" loopback: ip: @@ -59,7 +59,7 @@ acl: api_permissions: "api access": from: - - mod_http_api + - mod_http_api who: access: allow: @@ -81,7 +81,7 @@ configuration file should be located at `/etc/ejabberd-metrics.yml`. #### systemd service To properly operate the metrics exporter tools, we created some systemd service templates, to simplify the whole process. If the `ejabberd-metrics.yml` file is not accessible for the user`nobody:nogroup`, it is required to update the -`User` and `Group` definitions inside the service file. +`User` and `Group` definitions inside the service file. If a virtualenv is used, it is required to update the `Environment=PATH` to include the `venv/bin` directory created earlier. |