18 Nov
2005
18 Nov
'05
01:39
On Thursday 17 November 2005 08:33 pm, Anders Johansson wrote:
Bruce Marshall wrote:
if ! ps -aux | grep $daemon | grep -iv grep
1. why -i? grep is grep, not GrEp 2. you can do daemon=f[e]tchmail instead to avoid irrelevant hits on the grep process 3. Use checkproc for the testing instead of any of the above
Picky picky picky.... <g> (But we all learn from others) I stole the script from someone else.... :-)