Changeset 44547


Ignore:
Timestamp:
2015-02-26T14:42:47+01:00 (3 years ago)
Author:
jow
Message:

procd: add support for relaying daemon stdio to syslog

Procd enabled init scripts can now specify:

procd_set_param stdout 1
procd_set_param stderr 1

... to relay their respective standard IO streams to the system log.

Signed-off-by: Jo-Philipp Wich <jow@…>

Location:
trunk/package/system/procd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/system/procd/Makefile

    r44543 r44547  
    99 
    1010PKG_NAME:=procd 
    11 PKG_VERSION:=2015-02-26 
     11PKG_VERSION:=2015-02-26.1 
    1212 
    1313PKG_RELEASE=$(PKG_SOURCE_VERSION) 
     
    1616PKG_SOURCE_URL:=git://nbd.name/luci2/procd.git 
    1717PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) 
    18 PKG_SOURCE_VERSION:=4bccbfa967d756b8c84a62ea4752e936d8545a73 
     18PKG_SOURCE_VERSION:=9851e517f1c3e55228e2fdde913c9cf0b87a4bc7 
    1919PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz 
    2020CMAKE_INSTALL:=1 
  • trunk/package/system/procd/files/procd.sh

    r42911 r44547  
    143143                user) 
    144144                        json_add_string "$type" "$1" 
     145                ;; 
     146                stdout|stderr) 
     147                        json_add_boolean "$type" "$1" 
    145148                ;; 
    146149        esac 
Note: See TracChangeset for help on using the changeset viewer.