10 |
# that they are responding. |
# that they are responding. |
11 |
# processname: monit |
# processname: monit |
12 |
# pidfile: /var/run/monit.pid |
# pidfile: /var/run/monit.pid |
13 |
# config: /etc/monit.conf |
# config: /etc/monitrc |
14 |
|
|
15 |
|
|
16 |
# Source function library. |
# Source function library. |
24 |
case "$1" in |
case "$1" in |
25 |
start) |
start) |
26 |
echo -n "Starting monit: " |
echo -n "Starting monit: " |
27 |
daemon monit -c /etc/monit.conf -l syslog -d 60 |
daemon monit -c /etc/monitrc |
28 |
RETVAL=$? |
RETVAL=$? |
29 |
|
|
30 |
echo |
echo |