give mailq an explicite path because nobody aint got none

This commit is contained in:
Stephen Smoogen 2014-12-06 21:39:48 +00:00
parent 0fbf18a2df
commit 42a2d988fc
2 changed files with 2 additions and 0 deletions

View file

@ -1,4 +1,5 @@
#!/bin/bash
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
host=$(hostname -s)
pause=10

View file

@ -1,3 +1,4 @@
LoadPlugin exec
<Plugin exec>
Exec "nobody" "/usr/local/bin/collectd_mailq.sh"
</Plugin>