From 8c8f1a2a46e90f1f010e47161d7faf2a326dda7a Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 22 Jan 2024 01:56:58 +0100 Subject: [PATCH] Fix install doc (sudo no needs) --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index fce9c2d..e3ea13d 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,7 @@ apt install git python3-requests git clone https://gitea.zionetrix.net/bn8/check_woodpecker_upgrade.git /usr/local/src/check_woodpecker_upgrade mkdir -p /usr/local/lib/nagios/plugins ln -s /usr/local/src/check_woodpecker_upgrade/check_woodpecker_upgrade /usr/local/lib/nagios/plugins/ -echo "nagios ALL=NOPASSWD: /usr/local/lib/nagios/plugins/check_woodpecker_upgrade" > /etc/sudoers.d/nagios-woodpecker -chmod 0400 /etc/sudoers.d/nagios-woodpecker -echo "command[check_woodpecker_upgrade]=sudo /usr/local/lib/nagios/plugins/check_woodpecker_upgrade" > /etc/nagios/nrpe.d/woodpecker.cfg +echo "command[check_woodpecker_upgrade]=/usr/local/lib/nagios/plugins/check_woodpecker_upgrade" > /etc/nagios/nrpe.d/woodpecker.cfg service nagios-nrpe-server reload ```