Changeset 36484


Ignore:
Timestamp:
2013-04-29T00:22:25+02:00 (5 years ago)
Author:
luka
Message:

[packages] monit: fix init script

Location:
packages/admin/monit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/admin/monit/Makefile

    r36333 r36484  
    1010PKG_NAME:=monit 
    1111PKG_VERSION:=5.5 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • packages/admin/monit/files/monit.init

    r32674 r36484  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2006-2012 OpenWrt.org 
     2# Copyright (C) 2006-2013 OpenWrt.org 
    33 
    44START=60 
     
    88start() { 
    99        [ -f /etc/monitrc ] || return 1 
    10         #chmod 0700 /etc/monitrc 
     10        chmod 0600 /etc/monitrc 
    1111        service_start /usr/bin/monit 
    1212} 
Note: See TracChangeset for help on using the changeset viewer.