From: Luka Perkov Date: Sun, 28 Apr 2013 22:22:25 +0000 (+0000) Subject: monit: fix init script X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1b0530416f901aa7b1d7ad3daa5c4e6fed8100bf;p=openwrt%2Fsvn-archive%2Fpackages.git monit: fix init script SVN-Revision: 36484 --- diff --git a/admin/monit/Makefile b/admin/monit/Makefile index 8f077d558..6deb63839 100644 --- a/admin/monit/Makefile +++ b/admin/monit/Makefile @@ -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 diff --git a/admin/monit/files/monit.init b/admin/monit/files/monit.init index ed68700d2..b8a8ff824 100644 --- a/admin/monit/files/monit.init +++ b/admin/monit/files/monit.init @@ -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 }