mirror of
http://git.openwrt.org/packages.git
synced 2025-01-09 04:19:54 +08:00
[packages] monit: fix init script
git-svn-id: svn://svn.openwrt.org/openwrt/packages@36484 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
37116eddba
commit
c5a96ca3fd
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=monit
|
||||
PKG_VERSION:=5.5
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://mmonit.com/monit/dist
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2006-2012 OpenWrt.org
|
||||
# Copyright (C) 2006-2013 OpenWrt.org
|
||||
|
||||
START=60
|
||||
|
||||
@ -7,7 +7,7 @@ SERVICE_USE_PID=1
|
||||
|
||||
start() {
|
||||
[ -f /etc/monitrc ] || return 1
|
||||
#chmod 0700 /etc/monitrc
|
||||
chmod 0600 /etc/monitrc
|
||||
service_start /usr/bin/monit
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user