projects
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
libaio: moved to github
[packages.git]
/
admin
/
monit
/
files
/
monit.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2006-2013 OpenWrt.org
3
4
START=60
5
6
SERVICE_USE_PID=1
7
8
start() {
9
[ -f /etc/monitrc ] || return 1
10
chmod 0600 /etc/monitrc
11
service_start /usr/bin/monit
12
}
13
14
stop() {
15
service_stop /usr/bin/monit
16
}