monit: fix init script
authorLuka Perkov <luka@openwrt.org>
Sun, 28 Apr 2013 22:22:25 +0000 (22:22 +0000)
committerLuka Perkov <luka@openwrt.org>
Sun, 28 Apr 2013 22:22:25 +0000 (22:22 +0000)
SVN-Revision: 36484

admin/monit/Makefile
admin/monit/files/monit.init

index 8f077d55869e50b312821a2f8bc1480b09a95728..6deb63839f17cb8db0a84d9f702bc65e666e3598 100644 (file)
@@ -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
index ed68700d287c46370198dd6724d393725625f05d..b8a8ff8240a852e53134705eb1f6cd02f0ea45d6 100644 (file)
@@ -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
 }