monit: import 5.6 (2013-09-03) from packages

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
This commit is contained in:
Etienne CHAMPETIER
2014-06-10 21:54:10 +02:00
parent 4aaeb5fd68
commit c5af734c72
2 changed files with 107 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2013 OpenWrt.org
START=60
SERVICE_USE_PID=1
start() {
[ -f /etc/monitrc ] || return 1
chmod 0600 /etc/monitrc
service_start /usr/bin/monit
}
stop() {
service_stop /usr/bin/monit
}