mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
monit: import 5.6 (2013-09-03) from packages
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user