give mailq an explicite path because nobody aint got none
This commit is contained in:
parent
0fbf18a2df
commit
42a2d988fc
2 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
|
||||||
|
|
||||||
host=$(hostname -s)
|
host=$(hostname -s)
|
||||||
pause=10
|
pause=10
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
LoadPlugin exec
|
||||||
<Plugin exec>
|
<Plugin exec>
|
||||||
Exec "nobody" "/usr/local/bin/collectd_mailq.sh"
|
Exec "nobody" "/usr/local/bin/collectd_mailq.sh"
|
||||||
</Plugin>
|
</Plugin>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue