mirror of
https://github.com/munin-monitoring/muninlite.git
synced 2024-12-22 05:42:13 +01:00
Use /usr/local/bin/muninlite consistently in examples
Packagers (e.g. for OpenWrt) usually pick a different path (e.g. /usr/bin/muninlite or /usr/sbin/muninlite), but a native installation from source should point to /usr/local/... by default. The change affects only examples, thus it should do no harm.
This commit is contained in:
parent
9d596643cc
commit
670a871835
2 changed files with 2 additions and 2 deletions
|
@ -115,7 +115,7 @@ iptables -A INPUT -p tcp --dport munin --source 10.42.42.25 -j ACCEPT
|
|||
|
||||
## Test
|
||||
|
||||
To test the script, just run it (`/usr/bin/local/muninlite`):
|
||||
To test the script, just run it (`/usr/local/bin/muninlite`):
|
||||
```shell
|
||||
$ /usr/local/bin/muninlite
|
||||
# munin node at localhost.localdomain
|
||||
|
|
|
@ -26,7 +26,7 @@ if [ -f /sbin/inetd ]; then
|
|||
echo "muninlite can not start as lrrd is already in use"
|
||||
exit 1
|
||||
else
|
||||
echo "lrrd stream tcp nowait root /usr/bin/muninlite" >> /etc/inetd.conf
|
||||
echo "lrrd stream tcp nowait root /usr/local/bin/muninlite" >> /etc/inetd.conf
|
||||
fi
|
||||
PID=$(ps | grep -v grep | grep inetd | sed 's/^ \{1,\}//' | cut -d\ -f1)
|
||||
if [ ! -z "$PID" ]; then
|
||||
|
|
Loading…
Reference in a new issue