diff options
author | root <root@rshg054.dnsready.net> | 2013-05-31 06:21:03 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-31 06:21:03 -0700 |
commit | 7e7561a9640d0e1f54288a391239feb6bd691b56 (patch) | |
tree | d3b51b006a1133ace68d149692d9bd9fb3f981a9 /community/monit/monitd | |
parent | 94a3b302f520438e919ef8706ce9cf42ad7c2e11 (diff) |
Fri May 31 06:21:01 PDT 2013
Diffstat (limited to 'community/monit/monitd')
-rw-r--r-- | community/monit/monitd | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/community/monit/monitd b/community/monit/monitd deleted file mode 100644 index 61a359702..000000000 --- a/community/monit/monitd +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -start() { - stat_busy "Starting Monit" - /usr/bin/monit &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon monitd - stat_done - fi -} - -stop() { - stat_busy "Stopping Monit" - /usr/bin/monit quit &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon monitd - stat_done - fi -} - -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 |