From 0d5384516c1fb03eab411ac9bc9d42942fe304a4 Mon Sep 17 00:00:00 2001 From: Neraud Date: Sat, 4 Aug 2018 17:36:32 +0200 Subject: [PATCH] Improved CONFIGURATION comment to better describe the user property --- plugins/git/git_commit_behind | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/git/git_commit_behind b/plugins/git/git_commit_behind index 6929e397..42ae96b1 100755 --- a/plugins/git/git_commit_behind +++ b/plugins/git/git_commit_behind @@ -44,13 +44,14 @@ For example, you can use the following cron : Use your "/etc/munin/plugin-conf.d/munin-node" to configure this plugin. [git_commit_behind] - user root + user [user] env.git_path /path/to/git env.update.mode [munin|cron] env.update.probability 12 env.update.maxinterval 7200 -user root : required (to be able to switch to each repo user) +user [user] : required, the owner of the repository checkouts + in case of multiple different owners, use root env.git_path : optional (default : /usr/bin/git), the path to the git binary. env.update.mode : optional (default : munin), the update mode. munin : repositories are git fetched during the pugin execution