--- monitd 2010-04-03 05:57:36.000000000 -0700 +++ /etc/rc.d/monitd 2010-08-19 23:32:22.473334704 -0700 @@ -9,7 +9,7 @@ if [ $? -gt 0 ]; then stat_fail else - add_daemon monit + add_daemon monitd stat_done fi } @@ -20,7 +20,7 @@ if [ $? -gt 0 ]; then stat_fail else - rm_daemon monit + rm_daemon monitd stat_done fi } @@ -34,6 +34,7 @@ ;; restart) $0 stop + sleep 1 $0 start ;; *)